piston/docker/executors/cpp

3 lines
108 B
Plaintext
Executable File

timeout -s KILL 10 g++ -o binary -x c++ $1
timeout -s KILL 3 bash -c "cat /*.args | xargs -d '\n' ./binary"