freopen('xxx.in', 'r', stdin); freopen('xxx.out', 'w', stdout); fclose(stdin); fclose(stdout); #include<bits/stdc++.h> //比赛时为防止非必要错误,直接使用万能头 int main() { freopen('xxx.in', 'r', stdin); freopen('xxx.out', 'w', stdout);
/* 中间按原样写解题代码,什么都不用修改 */
fclose(stdin); fclose(stdout); return 0; } |
|