Skip to content

Instantly share code, notes, and snippets.

@CraigglesO
Last active May 23, 2016 06:28
Show Gist options
  • Save CraigglesO/67120322ebad2d743f8eba9749618278 to your computer and use it in GitHub Desktop.
Save CraigglesO/67120322ebad2d743f8eba9749618278 to your computer and use it in GitHub Desktop.
C++ Competitive Programming Template
#include <bits/stdc++.h>
using namespace std;
#define me(a, b) memset(a, (b), sizeof(a))
#define FOR(i,a,b) for (int i=a;i<b;i++)
#define RFOR(i,a,b) for(int i=a;i>b;i--)
#define for_all(it,n) for(__typeof((n).begin()) it=(n).begin();it!=(n).end();it++)
#define ITi std::vector<int>::iterator it
#define Size(n) (int)((n).size())
#define pb push_back
#define mp make_pair
#define all(n) (n).begin(),(n).end
#define dump(n) cerr<<#n<<"="<<(n)<<endl
#define _abs(a) ((a)>0?(a):-(a))
#define INF (int)1e9
#define EPS 1e-9
#define PI 3.1415926535897932384626433832795
//#define int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
//#define int lcm(int a, int b) { return a * (b / gcd(a, b)); }
typedef pair<int,int> pii;
typedef vector<int> vi;
typedef long long ll;
typedef vector<string> vs;
typedef vector<pii> vii;
typedef vector<ll> vll;
typedef vector<vi> vvi;
typedef long int int32;
typedef unsigned long int uint32;
typedef long long int int64;
typedef unsigned long long int uint64;
/*#####################################
# #
# #
# CODE: #
# #
# #
#####################################*/
int main(){
int i,j,k,n,m,t;
//cin >> t;
//cin >> n;
//cin >> m;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment