Skip to content

Instantly share code, notes, and snippets.

@rkkautsar
Last active August 29, 2015 14:04
Show Gist options
  • Save rkkautsar/354b4dbcd9f0f981672f to your computer and use it in GitHub Desktop.
Save rkkautsar/354b4dbcd9f0f981672f to your computer and use it in GitHub Desktop.
Programming Contest Template
#include <bits/stdc++.h>
using namespace std;
// typedef
typedef long long ll;
typedef pair<int,int> ii;
typedef pair<double,double> dd;
typedef vector<int> vi;
typedef vector<double> vd;
typedef vector<string> vs;
typedef vector<char> vc;
typedef vector<ii> vii;
typedef vector<vi> vvi;
typedef vector<bool> vb;
//defines
#define abs(_x) ((_x)<0?-(_x):(_x))
#define REP(_x) for(int __x=0;__x<_x;++__x)
#define mp(_x,_y) make_pair((_x),(_y))
#define PI 3.1415926535897932385
#define EPS 1e-9
#define INF 0x0FFFFFFF
#define INFLL 0x0FFFFFFFFFFFFFFFLL
#define ceildiv(_a,_b) ((_a)%(_b)==0?(_a)/(_b):((_a)/(_b))+1)
#define fi first
#define se second
int main(int argc, char **argv){
ios_base::sync_with_stdio(0);
cin.tie(0);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment