Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I agree. It's hard to fix bugs for test cases you can't read.

  • Custom User Avatar

    Just had a look at the random tests, they are fine. Care to share your code? Mark it as having spoiler content, though. You can also ask here.

  • Custom User Avatar

    You're aware that there are two kinds of tests? Those you can see, and those that are hidden. Note that I didn't write the Java version, so I'm not sure what's going on there. That being said, do you manipulate the array?

  • Custom User Avatar

    I'm not a Java developer myself (someone else must've done the translation). But I'm guessing the message is highlighting the incorrect parts.

    So the "a" with swuare brackets around it should be a "1" instead. Hope that helps?