Notes
This function is in beta test. Please help improve it in the issues
here.
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 24 at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47) at java.base/java.lang.String.charAt(String.java:693) at com.ve472.l1.Hall.readConfig(Hall.java:48) at com.ve472.l1.Cinema.readDir(Cinema.java:26) at com.ve472.l1.Main.main(Main.java:67)
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
Lorrine Moccia,Andhadhun,cherry,9,6,7,8 Theodore Schuman,Andhadhun,cherry,8,4,5,6,7,8,9,10 Vito Dinkins,Andhadhun,cherry,7,5,6,7,8,9 Carmel Byran,Andhadhun,cherry,3,4,5,6,7,8,9 Amado Sweeting,Andhadhun,cherry,9,4,5 Xavier Liptrap,Andhadhun,cherry,2,5,6,7,8,9 Aiko Jorde,Andhadhun,cherry,1,5,6,7,8 Yu Divito,Andhadhun Christy Harpel,Andhadhun Tam Palomba,Andhadhun,cherry,9,9,10,11 Simona Origer,Andhadhun Ada Cumba,Andhadhun Jaime Sharper,Andhadhun Reginald Portell,Andhadhun Tabatha Maclaughlin,Andhadhun,cherry,6,4,5 Migdalia Groomes,Andhadhun Katerine Bienfang,Andhadhun Addie Chesley,Andhadhun,cherry,6,9,10 Hillary Carza,Andhadhun Kristyn Wolfenden,Andhadhun,cherry,7,4