1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| #include <bits/stdc++.h>
using namespace std;
#define File(a) freopen(a".in", "r", stdin), freopen(a".out", "w", stdout)
inline void debug() { cerr << '\n'; } template<typename Type, typename... Other> inline void debug(const Type& x, const Other&... y) { cerr << x << ' '; debug(y...); } #define DEBUG(a...) cerr << "[" << #a << "] = ", debug(a)
typedef long long LL; typedef pair<int, int> PII;
const int N = 200010; const int INF = 0x3f3f3f3f;
template<typename Type> inline void read(Type &res) { res = 0; int ch = getchar(), flag = 0; while (!isdigit(ch)) flag |= ch == '-', ch = getchar(); while (isdigit(ch)) res = (res << 3) + (res << 1) + (ch ^ 48), ch = getchar(); res = flag ? -res : res; } template<typename Type, typename... Other> inline void read(Type &res, Other&... y) { read(res), read(y...); }
signed main() { return 0; }
|