摘要:
#include <bits/stdc++.h> using namespace std; #define LL long long const int N = 3e6+10; int n; LL p, inv[N]; int main() { scanf("%d%lld", &n, &p); in 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; #define int long long const int N=1e6+10; int T,a,b,c,d,x,y,num; int exgcd(int a,int b,int &x,int &y) { 阅读全文