- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcppTemplate.cpp
More file actions
Latest commit
36 lines (25 loc) · 715 Bytes
/
Copy pathcppTemplate.cpp
File metadata and controls
36 lines (25 loc) · 715 Bytes
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
#include<bits/stdc++.h>
#definedebugifconstexpr (local) std::cout
#defineendl'\n'
#definefi first
#definese second
#defineall(x) x.begin(),x.end()
#ifdef LOCAL
constexprbool local = true;
#else
constexprbool local = false;
#endif
typedeflonglong ll;
typedefunsignedlonglong ull;
usingnamespacestd;
/* - GLOBAL VARIABLES ---------------------------- */
/* ----------------------------------------------- */
/* - FUNCTIONS ----------------------------------- */
/* ----------------------------------------------- */
intmain() {
ios_base::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
ifconstexpr (local)
(void)!freopen("input.txt", "r", stdin);
return0;
}