update number of args

This commit is contained in:
Brian Seymour 2018-10-05 20:43:42 -05:00
parent 5f71c63b65
commit e050d5ae35
11 changed files with 11 additions and 11 deletions

View File

@ -1,2 +1,2 @@
timeout -s KILL 10 gcc -o binary -x c $1
timeout -s KILL 3 ./binary ${@:2}
timeout -s KILL 3 ./binary ${@:3}

View File

@ -1,2 +1,2 @@
timeout -s KILL 10 g++ -o binary -x c++ $1
timeout -s KILL 3 ./binary ${@:2}
timeout -s KILL 3 ./binary ${@:3}

View File

@ -1,3 +1,3 @@
cp /*.code .
timeout -s KILL 10 mcs $(echo $1 | sed 's/\///') -out:binary
timeout -s KILL 3 mono binary ${@:2}
timeout -s KILL 3 mono binary ${@:3}

View File

@ -4,4 +4,4 @@ timeout -s KILL 10 go build $file
file=${file%%.*}
timeout -s KILL 3 ./$file ${@:2}
timeout -s KILL 3 ./$file ${@:3}

View File

@ -1,3 +1,3 @@
timeout -s KILL 10 nasm -f elf64 -o binary.o $1
timeout -s KILL 10 ld binary.o -o binary
timeout -s KILL 3 ./binary ${@:2}
timeout -s KILL 3 ./binary ${@:3}

View File

@ -1 +1 @@
timeout -s KILL 3 nodejs $1 ${@:2}
timeout -s KILL 3 nodejs $1 ${@:3}

View File

@ -1 +1 @@
timeout -s KILL 3 php $1 ${@:2}
timeout -s KILL 3 php $1 ${@:3}

View File

@ -1 +1 @@
timeout -s KILL 3 python2 $1 ${@:2}
timeout -s KILL 3 python2 $1 ${@:3}

View File

@ -1 +1 @@
timeout -s KILL 3 python3.6 $1 ${@:2}
timeout -s KILL 3 python3.6 $1 ${@:3}

View File

@ -1 +1 @@
timeout -s KILL 3 Rscript $1 ${@:2}
timeout -s KILL 3 Rscript $1 ${@:3}

View File

@ -1 +1 @@
timeout -s KILL 3 ruby $1 ${@:2}
timeout -s KILL 3 ruby $1 ${@:3}