摘要: 题目: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... 阅读全文
posted @ 2013-07-19 09:28 over_flow 阅读(208) 评论(0) 推荐(0) 编辑