【Timus 1132】 Square Root(二次同余)
上代码:
#include<iostream>
#include<cstdio>
#include<cmath>
#include<algorithm>
#define ll long long
using namespace std;
ll P(ll a,ll b,ll mod)
{
ll ans=1;
w
原创
2018-08-14 17:34:13 ·
438 阅读 ·
0 评论