Ad
  • Custom User Avatar

    Same problem in C++... but then I read the instructions more carefully. Check your inputs, folks.

  • Default User Avatar

    I have same in java - what can be wrong?

  • Custom User Avatar

    I have the same problem in Python!
    On my computer my code returns 9991 with the corresponding values, but on here it's returning []

  • Custom User Avatar

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

  • Custom User Avatar

    I tried the tests and saw no problem.

  • Custom User Avatar

    Why is it wrong? Because it's not your answer? I'm very sorry but Python, Haskell, Ruby, Clojure give all the same answer for this test as well as other Codewarriors. Maybe you could view again your code rather than cheat taking advantage of the printf of the tests...