Skip to content

Instantly share code, notes, and snippets.

@cou929
Created August 14, 2010 14:12
Show Gist options
  • Save cou929/524332 to your computer and use it in GitHub Desktop.
Save cou929/524332 to your computer and use it in GitHub Desktop.
TopCoder CodeProcessor Template (C++)
$BEGINCUT$
$ENDCUT$
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <utility>
#include <set>
#include <cctype>
#include <queue>
#include <stack>
#include <numeric>
// BEGIN CUT HERE
#include "cout.hpp"
// END CUT HERE
using namespace std;
class $CLASSNAME$ {
public:
$RC$ $METHODNAME$($METHODPARMS$) {
$RC$ ret;
return ret;
}
$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