随笔分类 -  math

摘要:GCD and LCMTime Limit : 1 sec, Memory Limit : 65536 KB Japanese version is hereGCD and LCMWrite a program which computes the greatest common divisor (GCD) and the least common multiple (LCM) of given a and b (0 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 typedef long long ll;... 阅读全文
posted @ 2014-03-09 14:53 hyx1 阅读(219) 评论(0) 推荐(0)