LIN:
while true;do./gen//数据生成./bf//暴力./a//正解if diff ./bf.out ./a.out ; thencontinueelse breakfidone
WIN:
loopgen.exe > input.inbf.exe < input.in > bf.outyes.exe < input.in > yes.outfc bf.out yes.out if not errorlevel 1 goto looppauseend
生成一个.bat就好了