上一页 1 ··· 22 23 24 25 26
摘要: C. Sort Zero 最开始写了个n2的 TLE了以后 不知道咋优化 只好观察性质 发现我们要维护一个后缀 很多人说要维护前缀 其实也就少跑了60ms 我们维护一个mp[]记录的是哪个数不合法了 然后后面维护后缀时细节有点多 就没啥了 #include <bits/stdc++.h> using 阅读全文
posted @ 2022-08-15 00:20 ycllz 阅读(43) 评论(0) 推荐(0)
摘要: EDU 130 A #include <bits/stdc++.h> using namespace std; const int N = 5e3+10; const int M = 1<<16; const int mod = 1e9+7; #define int long long #defin 阅读全文
posted @ 2022-08-13 23:21 ycllz 阅读(46) 评论(0) 推荐(0)
摘要: 802 A #include <bits/stdc++.h> using namespace std; const int N = 5e3+10; const int M = 1<<16; const int mod = 1e9+7; #define int long long #define LL 阅读全文
posted @ 2022-08-10 19:19 ycllz 阅读(36) 评论(0) 推荐(0)
摘要: 今天开始就搬迁到博客园辣! 先809 A #include <bits/stdc++.h> using namespace std; const int N = 2e5+10; const int M = 1<<16; const int mod = 1e9+7; #define int long 阅读全文
posted @ 2022-08-09 18:56 ycllz 阅读(21) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26