以第一题为例,文件io为three,则main函数里前两行加上:
freopen("man.in", "r", stdin); freopen("man.out", "w", stdout);
大样例
题解