Notes
This function is in beta test. Please help improve it in the issues
here.
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:458) at com.ve572.l1.Hall.<init>(Hall.java:68) at com.ve572.l1.Cinema.parseFile(Cinema.java:25) at com.ve572.l1.Cinema.<init>(Cinema.java:14) at com.ve572.l1.Main.parse(Main.java:32) at com.ve572.l1.Main.main(Main.java:16)
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
Emmanuel Herwig,Avengers: Endgame,orange,9,6,7,8,9 Rhea Imada,Avengers: Endgame,orange,5,2,3,4,5,6,7,8,9,10,11 Dillon Tumolillo,Avengers: Endgame,strawberry,7,3,4,5,6,7,8,9 Blair Balo,Avengers: Endgame,orange,10,1,2,3,4,5 Garry Banegas,Avengers: Endgame,orange,8,5,6,7,8,9,10 Gabriel Kebert,Avengers: Endgame,orange,10,10,11,12,13,14 Rosalind Zazueta,Avengers: Endgame,orange,7,6,7,8 Tammy Barthe,Avengers: Endgame,orange,2,6,7,8,9 Ali Trodden,Avengers: Endgame,orange,5,12,13,14 Phebe Vantol,Avengers: Endgame,orange,1,5,6,7,8 Yuri Servey,Avengers: Endgame,strawberry,6,4,5,6,7 Len Kowitz,Avengers: Endgame,strawberry,5,4,5,6,7,8 Ronna Sarvas,Avengers: Endgame,orange,7,9 Michel Attilio,Avengers: Endgame,orange,6,7 Toby Hatchel,Avengers: Endgame,orange,6,1,2 Geralyn Groff,Avengers: Endgame,strawberry,6,8,9,10,11 Billy Bacolor,Avengers: Endgame,strawberry,4,4,5,6,7,8 Maryln Blomme,Avengers: Endgame,orange,6,8 Sachiko Lee,Avengers: Endgame,orange,9,1 So Lawrentz,Avengers: Endgame,orange,7,1 Clara Allerman,Avengers: End
JOJ Answer
Emmanuel Herwig,Avengers: Endgame,orange,9,6,7,8,9 Rhea Imada,Avengers: Endgame,orange,5,3,4,5,6,7,8,9,10,11,12 Dillon Tumolillo,Avengers: Endgame,strawberry,7,3,4,5,6,7,8,9 Blair Balo,Avengers: Endgame,orange,8,5,6,7,8,9 Garry Banegas,Avengers: Endgame,orange,1,5,6,7,8,9,10 Gabriel Kebert,Avengers: Endgame,orange,10,1,2,3,4,5 Rosalind Zazueta,Avengers: Endgame,orange,7,6,7,8 Tammy Barthe,Avengers: Endgame,orange,10,10,11,12,13 Ali Trodden,Avengers: Endgame,orange,2,6,7,8 Phebe Vantol,Avengers: Endgame,strawberry,6,4,5,6,7 Yuri Servey,Avengers: Endgame,strawberry,5,4,5,6,7 Len Kowitz,Avengers: Endgame,strawberry,4,4,5,6,7,8 Ronna Sarvas,Avengers: Endgame,orange,8,10 Michel Attilio,Avengers: Endgame,orange,7,9 Toby Hatchel,Avengers: Endgame,orange,6,7,8 Geralyn Groff,Avengers: Endgame,strawberry,6,8,9,10,11 Billy Bacolor,Avengers: Endgame,strawberry,3,4,5,6,7,8 Maryln Blomme,Avengers: Endgame,orange,10,14 Sachiko Lee,Avengers: Endgame,orange,9,1 So Lawrentz,Avengers: Endgame,orange,9,14 Clara Allerman,Avengers