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:459) at com.ve472.l1.Hall.search(Hall.java:30) at com.ve472.l1.Cinema.search(Cinema.java:67) at com.ve472.l1.Main$1Query.run(Main.java:45) at com.ve472.l1.Main.main(Main.java:72)
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
29 25 21 17 13 9 5 1 Elvia Stoops,The Wandering Earth,apple,8,6 21 Lieselotte Ayo,Avengers: Endgame,orange,5,2,3,4,5,6,7,8,9,10,11,12 29 25 21 17 13 9 5 -1 40 -32 20 Marlin Mcelvy,The Wandering Earth,grape,4,8,9,10,11,12 Merry Kochen,Andhadhun Jan Maontesano,Pokemon Detective Pikachu Charleen Holly,Pokemon Detective Pikachu 28 24 20 16 12 8 4 Claretta Authement,The Wandering Earth,apple,7,1,2,3,4,5,6,7,8,9,10,11,12 29 25 21 17 13 9 -3 Evie Plamondon,The Wandering Earth,apple,8,7,8,9 Claude Moretti,Avengers: Endgame 28 24 20 16 12 8 Alba Begor,The Wandering Earth,apple,6,4,5,6,7,8,9 Mariel Ruffell,Avengers: Endgame 28 24 20 16 12 0 4 Ashley Delaune,The Wandering Earth,apple,6,2,3 Chi Zeilman,Pokemon Detective Pikachu Fredia Mcdonel,Pokemon Detective Pikachu 28 24 20 16 12 Timika Bergreen,The Wandering Earth,apple,5,2,3,4,5,6,7,8,9,10,11 36 32 28 22 -32 16 12 8 4 10 Contessa Churape,Avengers: Endgame,orange,5,13,14 29 25 21 17 Vivan Mina,The Wandering Earth,apple,4,1,2,3,4,5,6,7,8,9,10,11 37 33 29 17 25 17 13 9
JOJ Answer
Elvia Stoops,The Wandering Earth,apple,8,6 Lieselotte Ayo,Avengers: Endgame,orange,5,2,3,4,5,6,7,8,9,10,11,12 Marlin Mcelvy,The Wandering Earth,apple,7,4,5,6,7,8 Merry Kochen,Andhadhun Jan Maontesano,Pokemon Detective Pikachu Charleen Holly,Pokemon Detective Pikachu Claretta Authement,The Wandering Earth,apple,6,1,2,3,4,5,6,7,8,9,10,11,12 Evie Plamondon,The Wandering Earth,apple,8,7,8,9 Claude Moretti,Avengers: Endgame Alba Begor,The Wandering Earth,apple,5,4,5,6,7,8,9 Mariel Ruffell,Avengers: Endgame Ashley Delaune,The Wandering Earth,apple,8,4,5 Chi Zeilman,Pokemon Detective Pikachu Fredia Mcdonel,Pokemon Detective Pikachu Timika Bergreen,The Wandering Earth,apple,4,2,3,4,5,6,7,8,9,10,11 Contessa Churape,Avengers: Endgame,orange,9,7,8 Vivan Mina,The Wandering Earth,apple,3,1,2,3,4,5,6,7,8,9,10,11 Brinda Sedore,Avengers: Endgame,orange,9,6 Serita Jugo,Avengers: Endgame,orange,8,7,8 Zack Turke,Andhadhun,cherry,9,3,4,5,6,7,8,9,10,11 Phillip Felkel,The Wandering Earth,apple,2,2,3,4,5,6,7,8,9,10 Markita Semenec,