-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathtemplatetc.cpp
33 lines (32 loc) · 912 Bytes
/
templatetc.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
//Michał Glapa
#include<bits/stdc++.h>
using namespace std;
#define FOR(i,j,k) for(int i=(j);i<=(k);i++)
#define FORD(i,j,k) for(int i=(j);i>=(k);i--)
#define FOREACH(i,c) for(__typeof((c).begin()) i = (c).begin();i!=(c).end();i++)
#define FORDEACH(i,c) for(__typeof((c).rbegin()) i = (c).rbegin();i!=(c).rend();i++)
#define REP(i,n) for(int i=0;i<(n);i++)
#define ll long long
//Make sure no overflow problems
//#define int long long
#define pb push_back
#define mp make_pair
#define x first
#define y second
#define all(x) x.begin(),x.end()
#define ld long double
#define mini(x,y) x=min(x,y)
#define maxi(x,y) x=max(x,y)
const int INF = 1000000009;
const long long INFLL = (ll)INF * (ll)INF;
const ld EPS = 10e-9;
typedef vector<int> vi;
typedef pair<int,int> pii;
//#undef int
///////////////////////////////////////////////////////////////
struct __name
{
__type __method_name (__args)
{
}
};