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; }
相关文章推荐
- Vector的一小点扩充
- rpm,yum和apt使用详解
- 《短码之美》——危险的Web服务器hack
- 短码之美
- 连接oracle报错“ORA-28547:connection to server failed,probable Oracle Net admin 解决办法
- android面试题六
- ORACLE 定时执行存储过程
- 制作自定义背景Button按钮、自定义形状Button的全攻略
- STL 之栈
- opencv混合高斯模型
- STL 之栈
- Extjs表单验证小结
- emacs快捷键列表
- SVN主干分支合并
- Java多线程之Callable接口的实现
- 携程编程大赛 (预赛第二场)第一题【剪刀石头布】
- 图解CSS的padding,margin,border属性
- [数据库基础]——索引详解
- C#框架
- Nodejs安装express提示不是内部或外部命令