-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.cpp
More file actions
39 lines (32 loc) · 885 Bytes
/
template.cpp
File metadata and controls
39 lines (32 loc) · 885 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
37
38
39
#include<bits/stdc++.h>
#define ll long long
#define mp make_pair
#define pb push_back
#define ppb pop_back
#define ff first
#define ss second
#define vi vector<int>
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
using namespace std;
#ifndef ONLINE_JUDGE
#define debug(x) cerr << #x << " "; _pr(x); cerr << endl;
#else
#define debug(x);
#endif
void _pr(int t) {cerr << t;}
void _pr(ll t) {cerr << t;}
void _pr(string t) {cerr << t;}
void _pr(char t) {cerr << t;}
void _pr(double t) {cerr << t;}
template<class T>void _pr(vector<T> t){cerr<<'[';for(T x:t){_pr(x);cerr<<',';}cerr<<']';}
template<class T>void _pr(set<T> t){cerr<<'{';for(T x:t){_pr(x);cerr<<',';}cerr<<'}';}
int main(){
#ifndef ONLINE_JUDGE
freopen("error.txt","w",stderr);
#endif
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
return 0;
}