Add support for C11 and C++17 in gcc and g++
This commit is contained in:
parent
2dfa66bc59
commit
41f4b31830
|
@ -1,3 +1,3 @@
|
|||
cd /tmp/$2
|
||||
timeout -s KILL 10 gcc -o binary -x c code.code
|
||||
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code
|
||||
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
cd /tmp/$2
|
||||
timeout -s KILL 10 g++ -o binary -x c++ code.code
|
||||
timeout -s KILL 10 g++ -std=c++17 -o binary -x c++ code.code
|
||||
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|
||||
|
|
Loading…
Reference in New Issue