This commit is contained in:
Brian Seymour 2021-01-23 15:08:14 -06:00
parent 673d6f93a3
commit d07e563cb4
4 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash
cd /tmp/$2
g++ -std=c++17 -o binary -x c++ code.code
timeout -s KILL 10 g++ -std=c++17 -o binary -x c++ code.code
timeout -s KILL 3 xargs -a args.args -d '\n' ./binary < stdin.stdin