fix bug omitting stdout, fix cpp compiler flag

This commit is contained in:
Brian Seymour 2018-09-21 23:47:30 -05:00
parent eec7ec26fa
commit 9e0c0c40f5
2 changed files with 2 additions and 2 deletions

View file

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