2012年9月27日

poj 1006 Biorhythms(中国剩余定理)

摘要: BiorhythmsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 94863Accepted: 29139DescriptionSome people believe that there are three cycles in a... 阅读全文

posted @ 2012-09-27 23:27 NewPanderKing 阅读(217) 评论(0) 推荐(0)

c语言求最小公倍数,最大公约数

摘要: <1> 用辗转相除法求最大公约数 算法描述: m对n求余为a, 若a不等于0 则 m <- n, n <- a, 继续求余 否则 n 为最大公约数 <2> 最小公倍数 = 两个数的积 / 最大公约数 阅读全文

posted @ 2012-09-27 14:21 NewPanderKing 阅读(224) 评论(0) 推荐(0)

导航