Tag: Div. 1
Codeforces Round #412 (rated,...
#include<bits/stdc++.h>
#define ll long long
ll multmod(ll a, ll b, ll...
Codeforces Round #412 (rated,...
import static java.lang.Double.parseDouble;
import static java.lang.Integer.parseInt;
import static java.lang.Long.parseLong;
import static java.lang.Math.min;
import...
Codeforces Round #409 (rated,...
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<cctype>
#include<ctime>
#include<cstdlib>
#include<string>
#include<queue>
#include<cmath>
#include<set>
#include<map>
#include<bitset>
#include<vector>
#define rep(x,a,b) for (int x=int(a);x<=(int)(b);x++)
#define drp(x,a,b) for (int x=int(a);x>=(int)(b);x--)
#define...
Codeforces Round #409 (rated,...
#include <bits/stdc++.h>
#define MAXN (1000000)
#define MAXM (6)
#define mod (1000000007)
#define ll...