Knapsack Batch
로그인을 해야 제출할 수 있습니다.
언어 | 컴파일 명령 |
---|---|
C11 | /usr/bin/gcc -DEVAL -std=gnu11 -O2 -pipe -static -s -o knapsack knapsack.c -lm |
C++20 | /usr/bin/g++ -DEVAL -std=gnu++20 -O2 -pipe -static -s -o knapsack knapsack.cpp |
C++17 | /usr/bin/g++ -DEVAL -std=gnu++17 -O2 -pipe -static -s -o knapsack knapsack.cpp |
Java | /usr/bin/javac -encoding UTF-8 knapsack.java /bin/sh -c echo "Main-Class: knapsack" > __manifest__.txt /bin/sh -c jar cfm knapsack.jar __manifest__.txt *.class |
Pypy 3 | /usr/bin/pypy3 -m compileall -b knapsack.py /bin/mv knapsack.pyc __main__.pyc /usr/bin/zip knapsack.pyz.zip __main__.pyc /bin/mv knapsack.pyz.zip knapsack.pyz |