
前缀和 & 后缀和
文章平均质量分 86
DOLFAMINGO
诗酒趁年华
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Educational Codeforces Round 10 C. Foe Pairs —— 后缀和
题目链接:http://codeforces.com/problemset/problem/652/CC. Foe Pairstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard原创 2017-06-15 20:52:49 · 520 阅读 · 0 评论 -
Codeforces Round #173 (Div. 2) E. Sausage Maximization —— Trie树 + 前缀和
题目链接:http://codeforces.com/problemset/problem/282/EE. Sausage Maximizationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutpu原创 2017-06-29 10:17:22 · 423 阅读 · 0 评论 -
CSU - 1551 Longest Increasing Subsequence Again —— 线段树/树状数组 + 前缀和&后缀和
题目链接:http://acm.csu.edu.cn/csuoj/problemset/problem?pid=1551题解:……线段树:#include #include #include #include #include #include #include #include #include #include #include using n原创 2017-04-30 11:20:18 · 541 阅读 · 0 评论 -
Codeforces Round #376 (Div. 2) F. Video Cards —— 前缀和 & 后缀和
题目链接:http://codeforces.com/contest/731/problem/FF. Video Cardstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard o原创 2017-06-03 13:28:17 · 408 阅读 · 0 评论 -
HDU6025 Coprime Sequence —— 前缀和 & 后缀和
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6025Coprime SequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 666 Accept原创 2017-06-10 19:47:38 · 521 阅读 · 0 评论 -
Codeforces Round #376 (Div. 2) D. 80-th Level Archeology —— 差分法 + 线段扫描法
题目链接:http://codeforces.com/contest/731/problem/DD. 80-th Level Archeologytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutput原创 2017-06-04 15:06:19 · 828 阅读 · 0 评论