fix(java): add debugging output on run

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2023-11-19 23:28:00 +01:00
parent 346dde4530
commit 5f32910486
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -1,4 +1,7 @@
#!/bin/sh #!/bin/sh
echo "[INFO] Compiling $1"
javac -cp ".;*" $1.java javac -cp ".;*" $1.java
java -Xmx512M -Xss64M -DONLINE_JUDGE=true -Duser.language=en -Duser.region=US -Duser.variant=US $1
echo "[INFO] Running $1"
java -XX:+UseSerialGC -XX:TieredStopAtLevel=1 -XX:NewRatio=5 -Xms8M -Xmx512M -Xss64M -DONLINE_JUDGE=true Solution