Need Help Template Java

Правка en1, от 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 ;)

Теги java template

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский RyuzakiLight 2024-02-15 07:58:39 816 Initial revision (published)