Skip to content

Instantly share code, notes, and snippets.

@rinov
Created March 11, 2018 04:22
Show Gist options
  • Save rinov/e54de4d1801849cf07fb6088b45f7be5 to your computer and use it in GitHub Desktop.
Save rinov/e54de4d1801849cf07fb6088b45f7be5 to your computer and use it in GitHub Desktop.
programming_contest_template_cpp
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<ctime>
#include<cctype>
#include<climits>
#include<iostream>
#include<string>
#include<vector>
#include<map>
#include<list>
#include<queue>
#include<deque>
#include<algorithm>
#include<numeric>
#include<utility>
#include<complex>
#include<memory>
#include<functional>
using namespace std;
#define ALL(g) (g).begin(),(g).end()
#define REP(i, x, n) for(int i = x; i < n; i++)
#define rep(i,n) REP(i,0,n)
#define rep2(a,b,c,d) REP(a,0,b)REP(c,0,d)
#define F(i,j,k) fill(i[0],i[0]+j*j,k)
#define P(p) cout<<(p)<<endl;
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define INF 1<<25
#define pb push_back
#define N 1000
typedef vector<int> vi;
typedef vector<long long> vl;
typedef vector<double> vd;
typedef pair<int,int> pii;
typedef pair<long,long> pll;
typedef long long ll;
typedef vector<vector<int>> Matrix;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment