Skip to content

Instantly share code, notes, and snippets.

@yoshiokatsuneo
Created April 21, 2014 14:31
Show Gist options
  • Save yoshiokatsuneo/11144441 to your computer and use it in GitHub Desktop.
Save yoshiokatsuneo/11144441 to your computer and use it in GitHub Desktop.
topcoder template
$BEGINCUT$
/*
$PROBLEMDESC$
*/
$ENDCUT$
// #line $NEXTLINENUMBER$ "$FILENAME$"
#include <fstream>
#include <iostream>
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <numeric>
#include <algorithm>
#include <sstream>
#include <queue>
#include <stdexcept>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <cassert>
#include <unistd.h>
#include <string.h>
#include <stack>
#define decltype(X) __typeof(X)
#define REP(i, n) for(int i=0; i<(int)n; i++)
#define FOR(it, c) for(decltype((c).begin()) it = (c).begin(); it!=(c).end(); it++)
#define ALL(c) (c).begin(), (c).end()
#define EPS 0.000001
using namespace std;
typedef long long ll;
class $CLASSNAME$ {
public:
$RC$ $METHODNAME$($METHODPARMS$) {
}
$TESTCODE$
};
// BEGIN CUT HERE
int main() {
$CLASSNAME$ ___test;
___test.run_test(-1);
}
// END CUT HERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment