piston/docker/executors/cpp

5 lines
88 B
Plaintext
Raw Normal View History

2018-09-20 19:04:34 +02:00
#!/bin/sh
2018-10-06 03:26:22 +02:00
timeout -s KILL 10 g++ -o binary -x c++ $1
timeout -s KILL 3 ./binary ${@:2}