D. Candy Box (easy version)(简单贪心)

题目连接 总感受这时间复杂度有问题。ios #include<bits/stdc++.h> using namespace std; const int maxn = 2e5+50; int cnt[maxn]; bool cmp(int x, int y) { return x > y; } int main () { ios_base::sync_with_stdio(fal
相关文章
相关标签/搜索