Compare commits
4 Commits
7a8309553b
...
6615ec4519
Author | SHA1 | Date |
---|---|---|
Brian Seymour | 6615ec4519 | |
Brian Seymour | 178ddf19d6 | |
TitouanT | e169d0cab8 | |
Vrganj | ab8ede1c5d |
|
@ -1,3 +1,4 @@
|
||||||
api/api
|
api/api
|
||||||
|
api/package-lock.json
|
||||||
lxc/i
|
lxc/i
|
||||||
lxc/lockfile
|
lxc/lockfile
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
cd /tmp/$2
|
cd /tmp/$2
|
||||||
gcc -std=c11 -o binary -x c code.code
|
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code
|
||||||
timeout -s KILL 3 xargs -a args.args ./binary < stdin.stdin
|
timeout -s KILL 3 xargs -a args.args -d '\n' ./binary < stdin.stdin
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd /tmp/$2
|
cp code.code interim.java
|
||||||
name=$(grep -Po "(?<=\n|\A)\s*(public\s+)?(class|interface)\s+\K([^\/\\\\\n\s{]+)" code.code)
|
timeout -s KILL 10 xargs -a args.args -d '\n' java interim.java < stdin.stdin
|
||||||
cp code.code $name.java
|
|
||||||
javac $name.java
|
|
||||||
timeout -s KILL 3 xargs -a args.args -d '\n' java $name < stdin.stdin
|
|
||||||
|
|
Loading…
Reference in New Issue