メモ

cmpNaive の judge バージョンを使おうとしているとき,実行前に,din_*.txt でテストをする方法.

{ cat din_1.txt; ./cans < din_1.txt; } | ./cans naive

複数あるなら:

for f in din_*.txt; do echo $f; { cat $f; ./cans < $f; } | ./cans naive ; done