Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 7
	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:87)
	at com.ve472.l1.Cinema.search(Cinema.java:69)
	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

Michele Kitzrow,unknown
Mozella Waskow,Andhadhun
ok
?
!
Patience Farahkhan,Avengers: Endgame,strawberry,10,1,2,3,4,5,6,7,8,9,10,11,12,13,14
ok
?
!
Sonja Passerino,Andhadhun,cherry,9,2,3,4,5,6,7,8,9,10,11
Kina Remele,Avengers: Endgame
Joye Eskin,Andhadhun
ok
?
!
Tamisha Duggin,The Wandering Earth,apple,8,2,3,4,5,6,7,8,9,10
Cynthia Muddiman,Andhadhun
Eda Rackers,Andhadhun
Marica Sashington,Andhadhun
Gonzalo Suddith,Andhadhun
ok
?
!
Kaci Caley,Avengers: Endgame,orange,7,1,2,3,4,5,6,7,8,9,10
Elia Ruf,Avengers: Endgame
ok
usage: cinema
 -h,--help          print this message
    --hall <arg>    path of the hall config directory
    --query <arg>   query of customer orders

JOJ Answer

Michele Kitzrow,unknown
Mozella Waskow,Andhadhun
Patience Farahkhan,Avengers: Endgame,strawberry,10,1,2,3,4,5,6,7,8,9,10,11,12,13,14
Sonja Passerino,Andhadhun,cherry,9,2,3,4,5,6,7,8,9,10,11
Kina Remele,Avengers: Endgame,strawberry,9,2,3,4,5,6,7,8,9,10,11,12,13
Joye Eskin,Andhadhun,cherry,8,5,6,7,8
Tamisha Duggin,The Wandering Earth,apple,8,2,3,4,5,6,7,8,9,10
Cynthia Muddiman,Andhadhun,cherry,7,4,5,6,7,8,9,10
Eda Rackers,Andhadhun,cherry,6,5,6,7,8
Marica Sashington,Andhadhun,cherry,5,3,4,5,6,7,8,9,10
Gonzalo Suddith,Andhadhun,cherry,8,9,10,11,12,13
Kaci Caley,Avengers: Endgame,orange,7,1,2,3,4,5,6,7,8,9,10
Elia Ruf,Avengers: Endgame,orange,6,4,5,6,7,8
Bessie Hanington,Avengers: Endgame,orange,5,6
Cristi Aylsworth,The Wandering Earth,apple,7,1,2,3,4,5,6,7,8,9,10,11
Dorsey Huseby,The Wandering Earth,apple,6,6,7
Raquel Rick,The Wandering Earth,grape,11,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
Augustine Degeare,Andhadhun,cherry,4,2,3,4,5,6,7,8,9,10,11,12
Maurine Comfort,The Wandering Earth,apple,5,4,5,6,7,8
Jean Minich