-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.cpp
54 lines (45 loc) · 1.41 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#include<bits/stdc++.h>
using namespace std ;
//#include <ext/pb_ds/tree_policy.hpp> // Include for built in treap
//#include <ext/pb_ds/assoc_container.hpp>
//using namespace __gnu_pbds;
#define pb push_back
#define MP make_pair
#define ff first
#define ss second
#define nl puts("")
#define sp printf(" ")
#define phl bebug("hello")
#define FOR(i,x,y) for(vlong i=(x) ; i<= (y) ; ++i )
#define ROF(i,x,y) for(vlong i=(y) ; i>=x ; --i )
#define CLR(x,y) memset(x,y,sizeof(x))
#define ALL(x) (x).begin(),(x).end()
#define SZ(x) ((vlong)(x).size()
#define MIN(a,b) ((a)<(b)?(a):(b))
#define MAX(a,b) ((a)>(b)?(a):(b))
#define ABS(x) ((x<0?-(x):(x)))
#define FABS(x) ((x)+eps<0?-(x):(x))
#define SQ(x) ((x)*(x))
#define LCM(x,y) (((x)/gec((x),(y)))*(y))
#define ODD(x) (((x)&1) == 0? (0):(1))
#define Fix( x ) setprecision( x ) <<fixed
#define LL long long
#define LLU long long unsigned int
typedef long long vlong;
typedef unsigned long long uvlong;
typedef pair<int,int> pii ;
typedef pair<vlong,vlong> pll ;
typedef vector<int> vi ;
typedef vector<vlong> vl ;
/* Treap declaration
template < typename T >
using orderset = tree<T,null_type,less<T>,rb_tree_tag,tree_order_statistics_node_update>;
orderset <int> S;
*/
int main(){
#ifdef AbirRahman
//freopen ( "input.txt", "r", stdin );
//freopen ( "output.txt", "w", stdout );
#endif // AbirRahman
return 0 ;
}