1
0
2
40
168
527
131
/* HDU 3579 不一定互质情况,神牛公式解析链接:http://yzmduncan.iteye.com/blog/1323599 把推导过程翻译成代码即可... */ #include #include #include using namespace std; typedef long long ll; ll gcd(ll a,ll b){ if(b==0) return a...