
前缀和
文章平均质量分 77
.
鸡冠花12138
这个作者很懒,什么都没留下…
展开
-
zcmu-1907
1907: k倍区间Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 40 Solved: 19[Submit][Status][Web Board]Description给定一个长度为N的数列,A1, A2, ... AN,如果其中一段连续的子序列Ai, Ai+1, ... Aj(i <= j)之和是K的倍数,我们就称这个区间[i, j]是K倍...原创 2018-05-15 14:38:52 · 164 阅读 · 0 评论 -
2018"百度之星"程序设计大赛 - 资格赛 hdu6345(找区间最小值)
子串查询Time Limit: 3500/3000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 228 Accepted Submission(s): 111Problem Description度度熊的字符串课堂开始了!要以像度度熊一样的天才为目标,努力...原创 2018-08-06 19:20:43 · 341 阅读 · 0 评论 -
zcmu1022(二分+前缀和+素数筛选)
1022: Primes on IntervalTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 286 Solved: 124[Submit][Status][Web Board]DescriptionYou've decided to carry out a survey in the theory of prime numbers....原创 2018-08-21 12:31:53 · 350 阅读 · 0 评论 -
ACM-ICPC 2018 徐州赛区网络预赛 Ryuji doesn't want to study(公式化简+前缀和)
Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i].Unfortunately, the longer he learns, the fewer he gets.That means...原创 2018-09-10 15:20:41 · 197 阅读 · 0 评论