您的位置:首页 > 其它

ACM 模板

2014-04-14 14:39 120 查看
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <string>
#include <vector>
#include <cmath>
#include <ctime>
#include <cctype>
#include <queue>
#include <stack>
#include <map>
#include <list>

using namespace std;

#define LOCAL_TEST // delete it when submit

int MAIN()
{
//Write Here

return 0;
}

int main()
{
#ifdef LOCAL_TEST
freopen("E:\\INPUTDATE.txt", "r", stdin);
freopen("E:\\out.txt", "w", stdout);
int START_TIME = clock();
#endif

ios :: sync_with_stdio(false);
cout << fixed << setprecision(16);

int RUN_RESULT = MAIN();

#ifdef LOCAL_TEST
cout << endl;
cout << "[Time Used] " << clock() - START_TIME << " ms." << endl;
fclose(stdout);
fclose(stdin);
system("E:\\out.txt");
//system("erase E:\\out.txt");
#endif
return RUN_RESULT;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: