摘要: 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) 编辑