piston/docker/executors/cpp

5 lines
59 B
Bash
Executable File

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