piston/docker/executors/cpp
2018-09-21 23:47:30 -05:00

4 lines
62 B
Bash
Executable file

#!/bin/sh
g++ -o binary -x c++ $1
timeout -s KILL 3 ./binary