模拟
吃葡萄不吐葡萄皮丿
这个作者很懒,什么都没留下…
展开
-
因数分解问题
描述请你写一个程序,读如一个正整数,请找出所有质因数的连乘,例如: 2016=2^5*3^2*7^1 3888=2^4*3^5 9800=2^3*5^2*7^2 71329629=3^1*7^1*19^2*97^2 5421051804 =2^2*3^1*7^1*19^3*97^2 其中,正整数的范围是在1~5147499,若其中有两个以上的质数,则按由小而大的顺序原创 2014-08-07 10:36:38 · 1246 阅读 · 0 评论 -
Biorhythms
Problem DescriptionSome people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual cycles,原创 2014-08-15 16:20:08 · 664 阅读 · 0 评论 -
Counterfeit Dollar
Problem DescriptionSally Jones has a dozen Voyageur silver dollars. However, only eleven of the coins are true silver dollars; one coin is counterfeit even though its color and size make it indist原创 2014-08-15 16:48:49 · 992 阅读 · 0 评论