linux ReseeCher · 2018-09-04 14:38:18 · 个人记录 对拍 a.sh while true do ./mk ./a ./b if diff a.out a.ans -w -B then echo AC else echo WA read -n 1 fi done chmod +x a.sh ./a.sh 命令行 ctrl+c ctrl+d 文件结束符(EOF) tab 自动补全 & 后台运行 ./a < a.in > a.out