Need Help Template Java

Revision en1, by RyuzakiLight, 2024-02-15 07:58:39

I have been using this template for a while. But the problem is when I try to accept strings. In codechef it works fine but for some reason it does not work in codeforces. It works fine locally though. Any thoughts on how to fix this

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55) at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52) at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213) at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210) at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)

Love from White ;)

Tags java template

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English RyuzakiLight 2024-02-15 07:58:39 816 Initial revision (published)