Skip to content

Instantly share code, notes, and snippets.

@mejibyte
Created September 28, 2011 16:58
Show Gist options
  • Save mejibyte/1248480 to your computer and use it in GitHub Desktop.
Save mejibyte/1248480 to your computer and use it in GitHub Desktop.
C++ template for programming contests
using namespace std;
#include <algorithm>
#include <iostream>
#include <iterator>
#include <numeric>
#include <sstream>
#include <fstream>
#include <cassert>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <string>
#include <cstdio>
#include <vector>
#include <cmath>
#include <queue>
#include <deque>
#include <stack>
#include <list>
#include <map>
#include <set>
#define foreach(x, v) for (typeof (v).begin() x=(v).begin(); x !=(v).end(); ++x)
#define For(i, a, b) for (int i=(a); i<(b); ++i)
#define D(x) cout << #x " is " << x << endl
int main(){
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment