打模拟赛的时候一定要注意文件操作和其余细节。
提交前一定要测试一遍,不要像我一样:
freopen("diyiti.cpp", "r", stdin); freopen("diyiti.cpp", "w", stdout);
这下成乐子了。