ubuntu下对拍

#!bin/bash
while true;
do
./gen
./std
./xx
if diff test.out test.ans;then
echo AC
else
echo WA
exit 0
fi

done

其中gen是数据生成器,std是标程,xx是要对拍的程序,要写文件读入输出

posted @ 2016-01-15 09:20  orzpps  阅读(176)  评论(0编辑  收藏  举报