
codeforce
WorstCoder
能够做出困难的算法题是最快乐的事情!
展开
-
Codeforces Round #618 (Div. 2) E. Water Balance
#include<bits/stdc++.h>//#include<ext/pb_ds/assoc_container.hpp>using namespace std;//using namespace __gnu_pbds;typedef long long ll;const int MAXN = 1e6+20;int n,arr[MAXN];double ...原创 2020-02-22 00:10:33 · 326 阅读 · 0 评论 -
Codeforces Round #596 (Div. 2, based on Technocup 2020 Elimination Round 2)
Forgetting Things#include <bits/stdc++.h>using namespace std;typedef long long ll;const int MAXN = 3e5+20;const int MOD = 1e9+7;int n;int main() { int a,b; cin >> a >> b;...原创 2019-10-31 21:47:48 · 328 阅读 · 0 评论 -
Codeforces Round #594 (Div. 2)
A - Integer Points#include <bits/stdc++.h>using namespace std;typedef long long ll;const int MAXN = 1e5+20;int n,m;int main() { int _;cin >> _; while(_--){ cin >> n; ...原创 2019-10-26 18:08:02 · 365 阅读 · 0 评论 -
Codeforces Round #591 (Div. 2, based on Technocup 2020 Elimination Round 1)
A - CME #include<cstdio>#include<cstring>#include<queue>#include<vector>#include<algorithm>#include <iostream>using namespace std;typedef long long ll;con...原创 2019-10-13 20:56:17 · 276 阅读 · 0 评论