会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
haostar
博客园
首页
新随笔
联系
订阅
管理
2025年10月23日
牛客错题AsubB
摘要: 做法 : 预处理前后缀 + 贪心 点击查看代码 #include <bits/stdc++.h> using namespace std; void solve(){ int n; cin >> n; vector<int> a(n + 10); for(int i = 1; i <= n; i +
阅读全文
posted @ 2025-10-23 14:49 ha000star
阅读(8)
评论(0)
推荐(1)
公告