摘要: 题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 4030, M = 200010 阅读全文
posted @ 2021-04-26 18:25 Protein_lzl 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 110; int n, m, A[N], B[N], t[N]; int m 阅读全文
posted @ 2021-04-25 17:47 Protein_lzl 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <algorithm> #include <cstring> #define int long long using namespace std; const int N = 200010; 阅读全文
posted @ 2021-04-22 16:16 Protein_lzl 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #include <cmath> #include <cstdio> #define x first #define y sec 阅读全文
posted @ 2021-04-21 13:30 Protein_lzl 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 15, M = 1030, mod = 1e9 + 7; 阅读全文
posted @ 2021-04-21 13:25 Protein_lzl 阅读(63) 评论(0) 推荐(1) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <algorithm> #include <cstdio> #include <cmath> using namespace std; const int N = 2000010; const double eps = 1e-8; 阅读全文
posted @ 2021-04-19 16:49 Protein_lzl 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 100010, mod = 1e9 + 7; int n, 阅读全文
posted @ 2021-04-16 18:25 Protein_lzl 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <algorithm> #include <cstring> #define int long long using namespace std; const int N = 20010; 阅读全文
posted @ 2021-04-16 15:40 Protein_lzl 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 200010; int n, m, A[N], B[N]; 阅读全文
posted @ 2021-04-14 15:40 Protein_lzl 阅读(65) 评论(0) 推荐(1) 编辑
摘要: 题目 Lougu LOJ Acwing 思路 代码 #include <iostream> #include <algorithm> #include <cstring> #include <vector> using namespace std; const int N = 100010, M = 阅读全文
posted @ 2021-04-13 16:36 Protein_lzl 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 1 代码 1 #include <iostream> #include <cstring> #include <algorithm> #include <vector> #define int long long using namespace std; 阅读全文
posted @ 2021-04-08 16:12 Protein_lzl 阅读(72) 评论(0) 推荐(1) 编辑
摘要: 题目 Luogu Acwing LOJ 思路 代码 #include <iostream> #include <algorithm> using namespace std; const int N = 400010; int n, m, f[17][N], ans[N / 2]; struct S 阅读全文
posted @ 2021-04-06 17:47 Protein_lzl 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 610, M = 500010, INF = 2e9; int 阅读全文
posted @ 2021-04-06 13:01 Protein_lzl 阅读(57) 评论(0) 推荐(1) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <algorithm> #include <cstring> #include <cstdio> using namespace std; const int N = 410, M = 50 阅读全文
posted @ 2021-04-04 16:34 Protein_lzl 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <cstdio> #include <cmath> #define double long double using namespace std; typedef unsigned long 阅读全文
posted @ 2021-04-04 13:44 Protein_lzl 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <cstring> using namespace std; const int N = 110, M = 2e7 + 10, mod = 20170408; int n, m, p, P[ 阅读全文
posted @ 2021-04-03 12:28 Protein_lzl 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 100010; int n, m; int h[N], p 阅读全文
posted @ 2021-04-02 23:49 Protein_lzl 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 题目 luogu LOJ Acwing 思路 代码 #include <iostream> #include <cstring> #define int long long using namespace std; const int N = 1000010, mod = 1e9 + 7; int 阅读全文
posted @ 2021-04-02 17:06 Protein_lzl 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu Acwing 思路 代码 #include <iostream> using namespace std; const int N = 1010; int T, n, a[N], l[N][N], r[N][N]; int main(){ cin >> T; while (T-- 阅读全文
posted @ 2021-04-02 16:14 Protein_lzl 阅读(70) 评论(0) 推荐(0) 编辑