https://www.acwing.com/problem/content/880/ 已知a,b,m,求解线性同余方程 代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; int n,d,a,m,x,y,b; int exgcd(int a,int b,int &x,int &y){ if(!b){ x=1, y=0; return a; } int d; d=exgcd(b,a%b...