摘要: 1 bool prime[maxn]; 2 void set() 3 { 4 memset(prime,true,sizeof(prime)); 5 int tmp; 6 for(int i=3;i<maxn;i++){ 7 tmp=(i+1)/2; 8 for(int j=2;j<=tmp;j++ 阅读全文
posted @ 2016-02-02 00:11 Sunny糖果 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Prime Cuts Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2171 Accepted Submission(s): 929 Prob 阅读全文
posted @ 2016-02-02 00:09 Sunny糖果 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Primes Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9888 Accepted Submission(s): 4136 Problem 阅读全文
posted @ 2016-02-01 23:15 Sunny糖果 阅读(388) 评论(0) 推荐(0) 编辑
摘要: Calculate S(n) Time Limit: 10000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9640 Accepted Submission(s): 349 阅读全文
posted @ 2016-02-01 22:59 Sunny糖果 阅读(406) 评论(0) 推荐(0) 编辑
摘要: Tempter of the Bone Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 97219 Accepted Submission(s) 阅读全文
posted @ 2016-02-01 19:42 Sunny糖果 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Catch That Cow Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 10575 Accepted Submission(s): 330 阅读全文
posted @ 2016-02-01 19:39 Sunny糖果 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Rightmost Digit Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 43732 Accepted Submission(s): 16 阅读全文
posted @ 2016-02-01 19:37 Sunny糖果 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 吃糖果 Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 31313 Accepted Submission(s): 8894 Problem D 阅读全文
posted @ 2016-02-01 19:35 Sunny糖果 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 排序 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 46093 Accepted Submission(s): 13231 Problem D 阅读全文
posted @ 2016-02-01 19:33 Sunny糖果 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 素数回文 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 16056 Accepted Submission(s): 3564 Problem 阅读全文
posted @ 2016-02-01 19:32 Sunny糖果 阅读(264) 评论(0) 推荐(0) 编辑