摘要: #include <iostream> #include <regex> #include <limits.h> #include <random> #define debug typedef long long ll; using namespace std; const int maxn = 2 阅读全文
posted @ 2020-10-13 16:10 江南小生TJ 阅读(105) 评论(0) 推荐(0)
摘要: 线段树 动态最大连续和(Ray, Pass me the dished, LA 3938) 1 #include <iostream> 2 #include <regex> 3 #include <limits.h> 4 #include <random> 5 6 #define debug 7 t 阅读全文
posted @ 2020-10-13 11:49 江南小生TJ 阅读(111) 评论(0) 推荐(0)
摘要: 代码如下 #include <iostream> #include <vector> using namespace std; const vector<int> vec = {2, 3, 5}; vector<int> tmp; const int target = 8; void dfs(int 阅读全文
posted @ 2020-09-27 16:21 江南小生TJ 阅读(131) 评论(0) 推荐(0)