Skip to content

Instantly share code, notes, and snippets.

@Equlnox
Created April 25, 2018 13:34
Show Gist options
  • Save Equlnox/5a84e4247b853eebb317b638615be372 to your computer and use it in GitHub Desktop.
Save Equlnox/5a84e4247b853eebb317b638615be372 to your computer and use it in GitHub Desktop.
My C++ code snippet for competitive programming
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int > pii;
template<typename T>
using V = vector<T>;
#define SYNC ios_base::sync_with_stdio(0);cin.tie(0);
#define rep(i,b) for(int i=0;i<b;i++)
#define repn(i,n) for(int i=1;i<=n;i++)
#define ALL(x) (x).begin(),(x).end()
#define fi first
#define se second
#define pb push_back
#define dzx cerr<<"here";
const ll MOD=1e9+7,INF=0x3F3F3F3F3F3F3F3F;
const int inf=0x3F3F3F3F;
/* Equinox */
int32_t main(){SYNC
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment