摘要:
Monkey and BananaProblem DescriptionA group of researchers are designing an experiment to test the IQ of a monkey. They will hang a banana at the roof of a building, and at the mean time, provide the monkey with some blocks. If the monkey is clever enough, it shall be able to reach the banana by pla 阅读全文
posted @ 2014-03-24 17:56
贾树丙
阅读(636)
评论(0)
推荐(0)
摘要:
Humble NumberProblem DescriptionA number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 25, 27, ... shows the first 20 humble numbers.Write a program to find and print the nth element in this sequenceInpu 阅读全文
posted @ 2014-03-24 17:49
贾树丙
阅读(256)
评论(0)
推荐(0)

浙公网安备 33010602011771号