Notes
This function is in beta test. Please help improve it in the issues
here.
Exception in thread "main" java.util.NoSuchElementException: No line found at java.base/java.util.Scanner.nextLine(Scanner.java:1651) at com.ve472.l1.Hall.parse(Hall.java:26) at com.ve472.l1.Cinema.parse(Cinema.java:19) at com.ve472.l1.Main.parse(Main.java:35) at com.ve472.l1.Main.main(Main.java:9)
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
Tamie Estill,The Wandering Earth,apple,8,5,6,7,8 Pilar Ghere,The Wandering Earth,apple,7,2,3,4,5,6,7,8,9,10,11 Domenic Mcleish,The Wandering Earth,apple,6,2,3,4,5,6,7,8,9,10,11 Ellamae Favuzzi,The Wandering Earth,apple,5,5,6,7 Dolly Battista,The Wandering Earth,apple,4,3,4,5,6,7,8,9,10 Delana Ender,The Wandering Earth,apple,3,2,3,4,5,6,7,8,9,10 Corrin Zellmann,The Wandering Earth,apple,5,8,9,10,11,12 Rickie Herkstroeter,The Wandering Earth,apple,2,2,3,4,5,6,7,8,9,10,11 Ricki Nirmaier,The Wandering Earth,apple,1,2,3,4,5,6,7,8,9,10 Arnulfo Rolling,The Wandering Earth,grape,6,4,5,6,7,8,9,10,11,12 Criselda Lakes,The Wandering Earth,apple,8,4 Nicole Sward,The Wandering Earth,apple,8,9,10 Windy Dargenio,The Wandering Earth,apple,8,2,3 Nellie Mahuna,The Wandering Earth,apple,5,3,4 Fernande Laday,The Wandering Earth,grape,4,8,9,10,11 Samatha Centore,The Wandering Earth,grape,1,6,7,8,9 Blanch Lafarga,The Wandering Earth,apple,8,11,12 Karyl Hynds,The Wandering Earth Daniel Kiser,The Wandering Earth,apple,5,1,2 Gertie A