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
Standard input is empty
./testdata/*.in ./testdata/*.out
g++: error: ./solution.cpp: No such file or directory g++: fatal error: no input files compilation terminated. ./prog.sh: line 5: ./testdata/*.in: No such file or directory