Блог пользователя RyuzakiLight

Автор RyuzakiLight, история, 9 месяцев назад, По-английски

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 ;)

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится