第一次做topcoder,用的很不是习惯。
写一下自己的模版:
#include <string>
#include <vector>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <fstream>
#include <map>
#include <set>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>
using namespace std;
class $CLASSNAME$
{
public:
$RC$ $METHODNAME$($METHODPARMS$)
{
$RC$ ret;
return ret;
}
$TESTCODE$
};
int main()
{
$CLASSNAME$ ___test;
___test.run_test(-1);
return 0;
}
第一个250分的题目做法并不难,直接爆搜。