fork(1) download
  1. g++ -std=c++11 ./solution.cpp -o ./bin/solution.exe
  2. for i in ./testdata/*.in;
  3. do
  4. echo $i ${i%.in}.out
  5. ./bin/solution.exe < $i > ${i%.in}.out
  6. done
Runtime error #stdin #stdout #stderr 0s 19632KB
stdin
Standard input is empty
stdout
./testdata/*.in ./testdata/*.out
stderr
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