会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Kenma
博客园
首页
新随笔
联系
订阅
管理
2025年2月22日
2025 USACO Feb 银组题解合集
摘要: A 考虑从大到小考虑每一个取值的数,如果能换就换,如果换了没用就不换。 实现上使用 vector 存下标,复杂度 \(O(n)\)。 #include<bits/stdc++.h> using namespace std; int t,n,m,a[1000005],flag,tim; vector<
阅读全文
posted @ 2025-02-22 19:07 _Kenma
阅读(118)
评论(0)
推荐(0)