Merge pull request #5 from brainplot/more-recent-c-cpp-support
Add support for C11 and C++17 in gcc and g++
This commit is contained in:
commit
7bc9b5b63a
|
@ -1,3 +1,3 @@
|
||||||
cd /tmp/$2
|
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"
|
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
|
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"
|
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|
||||||
|
|
Loading…
Reference in New Issue