fixed c args and added node lockfile to .gitignore

This commit is contained in:
TitouanT 2021-02-01 01:21:20 +01:00
parent 0f8350b6da
commit e169d0cab8
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
api/api
api/package-lock.json
lxc/i
lxc/lockfile

View File

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