Notes
This function is in beta test. Please help improve it in the issues
here.
Exception in thread "main" java.util.NoSuchElementException at java.base/java.util.Scanner.throwFor(Scanner.java:937) at java.base/java.util.Scanner.next(Scanner.java:1594) at java.base/java.util.Scanner.nextInt(Scanner.java:2258) at java.base/java.util.Scanner.nextInt(Scanner.java:2212) at com.ve472.l1.Hall.parse(Hall.java:38) 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
Merry Buzzi,Pokemon Detective Pikachu Elmira Pacer,Pokemon Detective Pikachu Shiloh Kroschel,Pokemon Detective Pikachu Ping Madaffari,Pokemon Detective Pikachu Rosalba Bindas,Pokemon Detective Pikachu Shoshana Laruffa,Pokemon Detective Pikachu Deangelo Langendorf,Pokemon Detective Pikachu Kathlene Zola,Pokemon Detective Pikachu Kelley Quisenberry,Pokemon Detective Pikachu Jacki Moors,Pokemon Detective Pikachu