会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一名蒟蒻
博客园
首页
新随笔
联系
订阅
管理
随笔 - 104
文章 - 0
评论 - 15
阅读 -
6831
2025年2月24日
VP Codeforces Round 906 (Div. 2)
摘要: A. Doremy's Paint 3 题意:给你你个数组,你要重排它使得每两个相邻数的和都相同。
a
1
+
a
2
=
a
2
+
a
3
,那么
a
1
=
a
3
,
a
2
+
a
3
=
a
3
+
a
4
,那么
a
2
=
a
4
,然后发现奇数位置都相等,偶数位置
阅读全文
posted @ 2025-02-24 21:17 maburb
阅读(2)
评论(0)
推荐(0)
编辑
VP Educational Codeforces Round 15
摘要: Educational Codeforces Round 15 题意:求严格递增子数组的最长长度。 双指针经典题。 点击查看代码 void solve() { int n; std::cin >> n; std::vector<int> a(n); for (int i = 0; i < n; ++
阅读全文
posted @ 2025-02-24 16:36 maburb
阅读(2)
评论(0)
推荐(0)
编辑
公告
昵称:
maburb
园龄:
2个月
粉丝:
12
关注:
0
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
最新随笔
1.VP Codeforces Round 892 (Div. 2)
2.VP Educational Codeforces Round 25
3.VP Educational Codeforces Round 24
4.VP Codeforces Round 904 (Div. 2)
5.VP Educational Codeforces Round 23
6.VP Codeforces Round 905 (Div. 2)
7.VP Educational Codeforces Round 22
8.牛客周赛 Round 83
9.VP Educational Codeforces Round 21
10.AtCoder Beginner Contest 395
随笔分类
牛客(16)
刷题(10)
atcoder(18)
codeforces(60)
点击右上角即可分享