上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 68 下一页
摘要: Cube Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 1949 Accepted Submission(s): 1013 Problem D 阅读全文
posted @ 2016-09-22 09:43 勿忘初心0924 阅读(170) 评论(0) 推荐(0) 编辑
摘要: See you~ Time Limit: 5000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 4753 Accepted Submission(s): 1518 Proble 阅读全文
posted @ 2016-09-21 21:35 勿忘初心0924 阅读(204) 评论(0) 推荐(0) 编辑
摘要: A Simple Problem with Integers Time Limit: 5000/1500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5402 Accepted Subm 阅读全文
posted @ 2016-09-20 19:06 勿忘初心0924 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 这个题刚开始的时候是套模板的,并没有真的理解什么树状数组的区间更新,这几天想了一下,下面是总结: 区间更新这里引进了一个数组delta数组,delta[i]表示区间 [i, n] 的共同增量,每次你需要更新的时候只需要更新delta数组就行了,因为每段区间更新的数都记录在这个数组中,那怎么查询前缀和 阅读全文
posted @ 2016-09-19 22:26 勿忘初心0924 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 这个求一千亿以内的素数大约用6780ms 这个完全就是爆炸了 #include <bits/stdtr1c++.h> #define MAXN 100 // pre-calc max n for phi(m, n) #define MAXM 100010 // pre-calc max m for 阅读全文
posted @ 2016-09-19 22:01 勿忘初心0924 阅读(402) 评论(0) 推荐(0) 编辑
摘要: A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 97217 Accepted: 30358 Case Time Limit: 2000MS Description Y 阅读全文
posted @ 2016-09-17 22:12 勿忘初心0924 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Flowers Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 3150 Accepted Submission(s): 1549 Problem 阅读全文
posted @ 2016-09-16 21:23 勿忘初心0924 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 敌兵布阵 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 78528 Accepted Submission(s): 33171 Problem 阅读全文
posted @ 2016-09-13 11:55 勿忘初心0924 阅读(146) 评论(0) 推荐(0) 编辑
摘要: /* 因为归并排序至于O(n)的复杂度所以省时 */ #include #include #include #include #include #include #include #define N 100010 #define MAXN 100010 using namespace std; //将有二个有序数列a[first...mid]和a[mid...last]合并。 void m... 阅读全文
posted @ 2016-09-12 21:24 勿忘初心0924 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Color the ball Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 17276 Accepted Submission(s): 8640 阅读全文
posted @ 2016-09-11 16:08 勿忘初心0924 阅读(98) 评论(0) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 68 下一页