摘要: 题意: 给你一个数n,已经分解过质因子,其中有m个因子a1,a2...am和他们的个数c1,c2....cm,设pair(p,q)满足gcd(p,q)==n && 1 2 #include 3 #include 4 using namespace std; 5 typedef long long LL; 6 #define MOD 1000000007 7 int main(){ 8 int T,c,a,b,cases=0; 9 scanf("%d",&T);10 while(T--){11 cases++;12 scanf("%d&quo 阅读全文
posted @ 2013-11-27 20:22 破晓べ 阅读(450) 评论(0) 推荐(0) 编辑