forked from chistopher/CPT
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.cpp
38 lines (32 loc) · 1.06 KB
/
template.cpp
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
//region template
#include <bits/stdc++.h>
#define GET_MACRO(_1,_2,_3,NAME,...) NAME
#define rep(...) GET_MACRO(__VA_ARGS__, repn, rep0)(__VA_ARGS__)
#define rep0(i, b) for(int i = 0; i < (b); ++i)
#define repn(i, a, b) for(int i = (a); i < (b); ++i)
#define trav(a, b) for(auto& a : b)
#define all(a) (a).begin(),(a).end()
#define endl '\n'
#define sz(x) ((int)(x).size())
#define tests int ___;cin>>___;while(___--)
using namespace std;
using ll = int64_t;
using ld = long double;
using ul = uint64_t;
using vi = vector<int>;
using vl = vector<ll>;
using vvi = vector<vi>;
using vvl = vector<vl>;
using pi = pair<int, int>;
using pl = pair<ll, ll>;
using vpi = vector<pi>;
static constexpr int inf = (int)1e9 + 5;
static constexpr ll infl = (ll)1e18 + 5;
static mt19937 rng((uint32_t)chrono::duration_cast<chrono::nanoseconds>(chrono::high_resolution_clock::now().time_since_epoch()).count());
//endregion
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.precision(10);
return 0;
}