摘要:
N!Time Limit: 10000/5000 MS (Java/Others)Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 65262Accepted Submission(s): 18665Problem Des... 阅读全文
摘要:
欧几里得辗转相除法,有效地处理求两个数的最大公约数问题!下面是代码和实现! 1 #include 2 int gcd(int m,int n) 3 { 4 if(m 2 int gcd(int m,int n) 3 { 4 if(m<n) 5 gcd(n,m); 6 ... 阅读全文
摘要:
A + B Problem IITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 260647Accepted Submission(s): 5039... 阅读全文