上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页
摘要: 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 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(56) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1473/problem/E vector存图: 1 #define bug(x) cout<<#x<<" is "<<x<<endl 2 #define IO std::ios::sync_with_stdio(0),cin.tie(0 阅读全文
posted @ 2021-02-11 12:19 Venux 阅读(91) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页