g++ -std=c++11 ./solution.cpp -o ./bin/solution.exe for i in ./testdata/*.in; do echo $i ${i%.in}.out ./bin/solution.exe < $i > ${i%.in}.out done