Notes
This function is in beta test. Please help improve it in the issues
here.
case14 case15.txt Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) at java.base/java.util.Objects.checkIndex(Objects.java:372) at java.base/java.util.ArrayList.get(ArrayList.java:459) at com.ve472.l1.Hall.readConfig(Hall.java:53) at com.ve472.l1.Cinema.readDir(Cinema.java:19) at com.ve472.l1.Main.main(Main.java:63)
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
Jonna Heimark,Pokemon Detective Pikachu Federico Bohac,Pokemon Detective Pikachu,mellon,1,1 Shanae Bellair,Pokemon Detective Pikachu Laverne Sul,Pokemon Detective Pikachu Barbie Galliher,Pokemon Detective Pikachu Rickey Obryan,Pokemon Detective Pikachu Jacalyn Platten,Pokemon Detective Pikachu Ria Pliml,Pokemon Detective Pikachu Twanda Regler,Pokemon Detective Pikachu Ray Torra,Pokemon Detective Pikachu