摘要:
Goldbach's ConjectureTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 34596 Accepted: 13275DescriptionIn 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture: Every even number greater than 4 can be written a 阅读全文
摘要:
OnesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10306 Accepted: 5869DescriptionGiven any integer 0 int main(void){ int n; while(scanf("%d",&n)!=EOF) { int e=1; int cnt=1; while(e!=0){ e=10*e+1; e%=n; cnt++; } pr... 阅读全文
摘要:
Humble NumbersTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13655 Accepted Submission(s): 5938Problem 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... 阅读全文
摘要:
Common SubsequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18332 Accepted Submission(s): 7742Problem DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a seque... 阅读全文