会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Venux
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
18
下一页
2021年3月10日
pipioj 1026: a+b问题(简单模拟)
摘要: http://www.pipioj.online/problem.php?id=1026 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2 #define bug(x) cout<<#x<<" is "<<x<<e
阅读全文
posted @ 2021-03-10 00:22 Venux
阅读(108)
评论(0)
推荐(0)
2021年3月9日
pipioj 1027: 逃离迷宫(简单bfs)
摘要: http://www.pipioj.online/problem.php?id=1027 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2 #define bug(x) cout<<#x<<" is "<<x<<e
阅读全文
posted @ 2021-03-09 23:57 Venux
阅读(185)
评论(0)
推荐(0)
pipioj 1028: 可乐(贪心)
摘要: http://www.pipioj.online/problem.php?id=1028 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2 #define bug(x) cout<<#x<<" is "<<x<<e
阅读全文
posted @ 2021-03-09 02:47 Venux
阅读(75)
评论(0)
推荐(0)
Codeforces Round #705 (Div. 2)C. K-beautiful Strings(贪心)
摘要: https://codeforces.com/contest/1493/problem/C 从后往左找一个需要加大的地方,枚举这个地方加大多少,每次都判定后面是否能凑成功即可 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(
阅读全文
posted @ 2021-03-09 00:27 Venux
阅读(59)
评论(0)
推荐(0)
2021年3月8日
Codeforces Round #705 (Div. 2)D. GCD of an Array (multiset)
摘要: https://codeforces.com/contest/1493/problem/D 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2 #define bug(x) cout<<#x<<" is "<<x<<
阅读全文
posted @ 2021-03-08 21:51 Venux
阅读(89)
评论(0)
推荐(0)
2021年3月5日
SPOJ Favorite Dice(期望DP入门)
摘要: https://vjudge.net/problem/SPOJ-FAVDICE https://blog.csdn.net/myjs999/article/details/81022546 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),co
阅读全文
posted @ 2021-03-05 15:36 Venux
阅读(77)
评论(0)
推荐(0)
2021年3月4日
Codeforces Global Round 13 C题(差分)
摘要: https://codeforces.com/contest/1491/problem/C 贪心,从左往右每一轮只需要每个长度跳第一次,可以用差分数组维护每个点被踩的次数。 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0
阅读全文
posted @ 2021-03-04 20:02 Venux
阅读(55)
评论(0)
推荐(0)
2021年2月23日
Codeforces Round #702 (Div. 3)G(二分,模拟stl)
摘要: https://codeforces.com/contest/1490/problem/G 二分循环几轮,再二分哪个位置刚好够。 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2 #define bug(x) co
阅读全文
posted @ 2021-02-23 16:55 Venux
阅读(87)
评论(0)
推荐(0)
Codeforces Round #703 (Div. 2)D(二分,前缀和)
摘要: https://codeforces.com/contest/1486/problem/D 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2 #define bug(x) cout<<#x<<" is "<<x<<
阅读全文
posted @ 2021-02-23 09:45 Venux
阅读(91)
评论(0)
推荐(0)
2021年2月22日
Codeforces Round #703 (Div. 2)C (二分)
摘要: https://codeforces.com/contest/1486/problem/C2 1 #define IO std::ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); 2 #define bug(x) cout<<#x<<" is "<<x<
阅读全文
posted @ 2021-02-22 19:31 Venux
阅读(63)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
18
下一页
公告