First version
This commit is contained in:
commit
243e92a9dd
84 files changed
+4012
No files matched your search
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Compiles a C program as Kattis does for ACPC 2026 (gcc-15 15.2.0). Result: a.out
|
||||
exec gcc-15 -g -O2 -o a.out -std=gnu23 -static "$@" -lm
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Compiles a C++ program as Kattis does for ACPC 2026 (g++-15 15.2.0). Result: a.out
|
||||
exec g++-15 -g -O2 -o a.out -std=gnu++23 -static -lrt -Wl,--whole-archive -lpthread -Wl,--no-whole-archive "$@"
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Compiles a Java program as Kattis does for ACPC 2026 (javac 25.0.4.1)
|
||||
exec javac -encoding UTF-8 -sourcepath . -cp './*' -d . "$@"
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Checks the syntax of a Python 3 program with PyPy (Kattis runs it with pypy3 7.3.23)
|
||||
exec pypy3 -m py_compile "$@"
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Runs the program compiled by compilec (a.out)
|
||||
# Large stack (2 GB), for deep recursion
|
||||
ulimit -s 2097152
|
||||
exec ./a.out "$@"
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Runs the program compiled by compilecpp (a.out)
|
||||
# Large stack (2 GB), for deep recursion
|
||||
ulimit -s 2097152
|
||||
exec ./a.out "$@"
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Runs a Java program as Kattis does for ACPC 2026 (java 25.0.4.1).
|
||||
# Usage: runjava MainClass. Kattis sets the memory to the limit of the problem,
|
||||
# 2048 MB here by default (MEMLIM=1024 runjava MainClass for another limit).
|
||||
MEMLIM=${MEMLIM:-2048}
|
||||
exec java -Dfile.encoding=UTF-8 -XX:+UseSerialGC -Xss64m -XX:TieredStopAtLevel=1 -XX:ActiveProcessorCount=2 -Xms${MEMLIM}m -Xmx${MEMLIM}m -cp '.:./*' "$@"
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
# Runs a Python 3 program as Kattis does for ACPC 2026 (pypy3 7.3.23, Python 3.11.15)
|
||||
exec pypy3 "$@"
|
||||
Reference in new issue
Block a user