随笔分类 -  AGC

Atcoder Grand Contest
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cstring> #include <vector> #define int long long #define a first #define b second 阅读全文
posted @ 2021-05-29 12:46 Protein_lzl 阅读(53) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 发现这样的笔太骚, 不适合写题解, 以后不会用了 代码 #include <iostream> using namespace std; int n, x, d; signed main() { cin >> n >> d >> x; double ad = d, ax 阅读全文
posted @ 2021-05-29 12:41 Protein_lzl 阅读(74) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cstring> using namespace std; const int N = 100010, M = N << 1; int n, m; int h[N] 阅读全文
posted @ 2021-05-29 12:37 Protein_lzl 阅读(63) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 100010; int n, w[4][N], to[N], st[N]; 阅读全文
posted @ 2021-05-29 12:34 Protein_lzl 阅读(54) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> using namespace std; const int N = 200010; int n, m, a[N], b[N]; int check(int mid) { for (int i = 1; i <= n * 2 阅读全文
posted @ 2021-05-29 12:31 Protein_lzl 阅读(94) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 200010; int n, A, B, d[N], st[N], f[N] 阅读全文
posted @ 2021-05-20 18:04 Protein_lzl 阅读(70) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 1000010, p = 924 阅读全文
posted @ 2021-05-20 18:02 Protein_lzl 阅读(66) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 2010, mod = 9248 阅读全文
posted @ 2021-05-20 18:00 Protein_lzl 阅读(72) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 200010; int n, m, c[N], k[N]; int h[N] 阅读全文
posted @ 2021-05-20 17:58 Protein_lzl 阅读(75) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> using namespace std; int n , m , x , y , v[105][105][2]; short f[105][105][105][105]; signed 阅读全文
posted @ 2021-05-12 22:30 Protein_lzl 阅读(79) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 1010, mod = 1e9 阅读全文
posted @ 2021-05-12 22:25 Protein_lzl 阅读(63) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 100010; int n, m 阅读全文
posted @ 2021-05-05 17:04 Protein_lzl 阅读(53) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cmath> #include <map> #define int long long using namespace std; const int N = 100 阅读全文
posted @ 2021-05-04 12:30 Protein_lzl 阅读(54) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 4000010, mod = 1e9 + 7; int n, k, fact 阅读全文
posted @ 2021-05-03 17:28 Protein_lzl 阅读(69) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 100010; int n, m, a[N]; int main() { c 阅读全文
posted @ 2021-04-29 18:38 Protein_lzl 阅读(77) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 200010; int n, m, q, w[N], p[N], cnt; 阅读全文
posted @ 2021-04-28 17:41 Protein_lzl 阅读(53) 评论(0) 推荐(0)
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #include <queue> using namespace std; const int N = 500010, INF = 1e9; in 阅读全文
posted @ 2021-04-27 18:42 Protein_lzl 阅读(73) 评论(0) 推荐(0)
摘要:题目 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 阅读(59) 评论(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 阅读(77) 评论(0) 推荐(0)