Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这大水题居然没人刷两个数的乘积=最大公约数×最小公倍数 A * B = GCD(A,B) * LCM(A,B) 用辗转相除法求出最大公约数后,最小公倍数不难求出 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator