摘要: Peter wants to generate some prime numbers for his cryptosystem. Help him! Your task is to generate all prime numbers between two given numbers!InputThe input begins with the number t of test cases in a single line (t<=10). In each of the next t lines there are two numbers m and n (1 <= m < 阅读全文
posted @ 2013-04-14 23:24 cpoint 阅读(588) 评论(1) 推荐(0) 编辑
摘要: Your program is to use the brute-force approach in order tofind the Answer to Life, the Universe, and Everything.More precisely... rewrite small numbers from input to output. Stop processing input after reading in the number 42. All numbers at input are integers of one or two digits.ExampleInput:128 阅读全文
posted @ 2013-04-14 21:48 cpoint 阅读(208) 评论(0) 推荐(0) 编辑
浏览次数:travelocity promotion codes