摘要: hdu 4611题意:求累加abs(i%a - i%b)的和,(o 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 const int N = 10000; 9 typedef long long LL;10 int gcd(int a,int b){11 if (b==0) return a;12 else return gcd(b,a%b);13 }14 int a,b,n;15 int main(){16 int T;scanf("%d",&T);1 阅读全文
posted @ 2013-07-25 22:08 Rabbit_hair 阅读(424) 评论(0) 推荐(0)