随笔分类 - AGC
Atcoder Grand Contest
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cstring> #include <vector> #define int long long #define a first #define b second
阅读全文
摘要:题目 Atcoder 思路 发现这样的笔太骚, 不适合写题解, 以后不会用了 代码 #include <iostream> using namespace std; int n, x, d; signed main() { cin >> n >> d >> x; double ad = d, ax
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cstring> using namespace std; const int N = 100010, M = N << 1; int n, m; int h[N]
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 100010; int n, w[4][N], to[N], st[N];
阅读全文
摘要:题目 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
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 200010; int n, A, B, d[N], st[N], f[N]
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 1000010, p = 924
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 2010, mod = 9248
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 200010; int n, m, c[N], k[N]; int h[N]
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> using namespace std; int n , m , x , y , v[105][105][2]; short f[105][105][105][105]; signed
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 1010, mod = 1e9
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 100010; int n, m
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cmath> #include <map> #define int long long using namespace std; const int N = 100
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 4000010, mod = 1e9 + 7; int n, k, fact
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 100010; int n, m, a[N]; int main() { c
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 200010; int n, m, q, w[N], p[N], cnt;
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #include <queue> using namespace std; const int N = 500010, INF = 1e9; in
阅读全文
摘要:题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 4030, M = 200010
阅读全文
摘要:题目 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
阅读全文

浙公网安备 33010602011771号