摘要: 读题读错能卡死 #A 读错, 直接完全背包, 还怀疑自己菜刀敲个完全背包都能wa半天 #include <bits/stdc++.h> #define all(n) (n).begin(), (n).end() #define se second #define fi first #define p 阅读全文
posted @ 2020-07-19 20:51 洛绫璃 阅读(447) 评论(2) 推荐(0) 编辑
摘要: 太难了 #A 接着A题漏判好多, 真不如枚举简单 看代码吧, 一般是漏情况wa #include <bits/stdc++.h> #define all(n) (n).begin(), (n).end() #define se second #define fi first #define pb p 阅读全文
posted @ 2020-07-19 19:06 洛绫璃 阅读(193) 评论(0) 推荐(0) 编辑
摘要: #A 签到 #include <iostream> #include <vector> #include <string> #include <queue> #include <cstdio> #include <algorithm> #include <cmath> #include <cstri 阅读全文
posted @ 2020-07-19 18:22 洛绫璃 阅读(232) 评论(2) 推荐(0) 编辑