对拍程序

现在acm似乎不用文件读入输出,so对拍程序改一改咯

1 @echo off  
2 :loop  
3     rand.exe > in.txt
4     my.exe < in.txt > myout.txt
5     std.exe < in.txt > stdout.txt
6     fc myout.txt stdout.txt
7 if not errorlevel 1 goto loop  
8 pause
9 goto loop

 

http://blog.csdn.net/wlx65003/article/details/51149196

posted @ 2017-01-07 20:20  Macaulish  阅读(108)  评论(0编辑  收藏  举报