piston/docker/executors/c

5 lines
86 B
Bash
Executable File

#!/bin/sh
timeout -s KILL 10 gcc -o binary -x c $1
timeout -s KILL 3 ./binary ${@:2}