摘要:
题目:http://acm.hdu.edu.cn/showproblem.php?pid=1573思路:同余方程,模板#include #include #include #include #include using namespace std;long long a[11],b[11];long long exgcd(long long a,long long b,long long &x,long long &y){ if(b==0) { x=1; y=0; return a; } else { lon... 阅读全文