2011年10月29日

POJ 3126, Prime Path

摘要: POJ 3126, Prime PathTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3134Accepted: 1911DescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices. — It is a matter 阅读全文

posted @ 2011-10-29 21:32 Goal 阅读(157) 评论(0) 推荐(0) 编辑

poj Prime Gap

摘要: Prime GapTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 6070Accepted: 3454DescriptionThe sequence of n − 1 consecutive composite numbers (positive integers that are not prime and not equal to 1) lying between two successive prime numbers p and p + n is called a prime gap of length n. For e 阅读全文

posted @ 2011-10-29 19:51 Goal 阅读(177) 评论(0) 推荐(0) 编辑

poj Sum of Consecutive Prime Numbers

摘要: Sum of Consecutive Prime NumbersTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 12073Accepted: 6767DescriptionSome positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given positive integer have? For example, the integ 阅读全文

posted @ 2011-10-29 19:27 Goal 阅读(156) 评论(0) 推荐(1) 编辑

导航