贪心
渴鱼
菜鸟进行曲
展开
-
2017 江苏省赛 Partial Sum
题目描述Bobo has a integer sequence a1,a2,…,an of length n. Each time, he selects two ends 0≤l < r≤n and add into a counter which is zero initially. He repeats the selection for at most m times.If each en原创 2017-08-30 21:29:18 · 205 阅读 · 0 评论 -
广西 2017 邀请赛 Duizi and Shunzi
题目描述Nike likes playing cards and makes a problem of it. Now give you n integers,ai(1 ≤ i ≤ n) We define two identical numbers (eg: 2,2) a Duizi, and three consecutive positive integers (eg: 2,3,4) a原创 2017-08-31 02:18:30 · 363 阅读 · 0 评论