摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <algorithm> #include <cmath> using namespace std; const int N = 1e6 + 10; struct PDD { double x 阅读全文
posted @ 2021-05-29 18:24 Protein_lzl 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 题目 Luogu LOJ Acwing 思路 代码 #include <iostream> #include <algorithm> #include <cstring> #include <cstdio> using namespace std; const int N = 110, M = 10 阅读全文
posted @ 2021-05-29 18:22 Protein_lzl 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 题目 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 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cstring> #define int long long using namespace std; const int N = 200010; int n, E 阅读全文
posted @ 2021-05-29 12:44 Protein_lzl 阅读(37) 评论(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 阅读(58) 评论(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 阅读(29) 评论(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 阅读(36) 评论(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 阅读(63) 评论(0) 推荐(0) 编辑