Notes
This function is in beta test. Please help improve it in the issues
here.
Exception in thread "main" java.lang.NumberFormatException: For input string: "6 Dennise Illies" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.base/java.lang.Integer.parseInt(Integer.java:652) at java.base/java.lang.Integer.parseInt(Integer.java:770) at com.ve472.l1.Main.main(Main.java:48)
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
Norbert Brunetta,unknown Dennise Illies,Avengers: Endgame Tasha Chez,unknown Collin Heyde,Andhadhun Oswaldo Manuelito,Pokemon Detective Pikachu Stephanie Brighter,Pokemon Detective Pikachu Dodie Tarbert,Avengers: Endgame Lynna Kornreich,Andhadhun Cayla Gwinn,Pokemon Detective Pikachu Laurette Voris,Pokemon Detective Pikachu Deja Deike,Andhadhun Theresia Tefft,unknown Delma Staheli,Avengers: Endgame Yetta Hodge,unknown Terrell Lesage,Avengers: Endgame Samatha Ladage,unknown Bryce Makarem,Avengers: Endgame Maryalice Saffold,Pokemon Detective Pikachu Yasmine Amburgy,Andhadhun Ezequiel Lantier,Andhadhun