編譯及執行語法參數 |
- C :
Compile: gcc -Wall -O2 -std=c11 -static -pipe -o $DEST -lm $SOURCE Run: exec "$@" < "$TESTIN" > "$PROGOUT"
- C++ :
Compile: g++ -Wall -O2 -std=c++14 -static -pipe -o $DEST $SOURCE Run: exec "$@" < "$TESTIN" > "$PROGOUT"
- Java :
Compile: javac $DEST.java $SOURCE Run: exec java -Xrs -Xss64m -Xmx${MEMLIMITJAVA}k Main
- Python 3 :
Compile: python3 -m py_compile $SOURCE Run: python3 $SOURCE < input > output
|