摘要: D. Range and Partition 1800 思维 https://codeforces.com/contest/1631/problem/D 题解:由于严格大于,故其最终前缀和s[n]>=k,而当s[n]>=k,s[0]=0,每步至多下降1,故其中必有至少k个点满足s[i]=x(1<=x 阅读全文
posted @ 2023-04-29 20:45 wrong,anser 阅读(32) 评论(0) 推荐(0)