g++ ../submissions/accepted/per.cc
for f in ../data/secret/*.in
do
    ./a.out < $f > $(basename $f .in).ans
done
rm a.out
