Ad
  • Default User Avatar

    Thanks guys, FIXED IT AND Passed everything nicely, Done!

  • Custom User Avatar

    I updated the assertion message so that it gives you the value of n.

  • Custom User Avatar

    IIRC, "Unhandled rejection" means simply failed assertion in JS tests. You solution passes 1165 tests, failed one assertion and then stopped. Reason for your failure is given with the assertion message, "Not an array", so probably tests expect an array and you return something else (undefined?)

  • Custom User Avatar

    ok, sounds like your code doesn't return an array when it should, for one input. If you deploy the "verify" block, in red, you should see the value of n causing that.

    Note: I just changed the upperlimit for various languages (some were easier than others) => the top value of N is 1300 in JS, now.

  • Default User Avatar

    https://snipboard.io/ujOKy6.jpg Here's a screenshot for reference, I guess there is something I may not notice but unfortunatelly I can not find it under failed tab

  • Default User Avatar

    Negative, it passed all 1165 tests in 2,3seconds, you see...
    So there are 1166?? It gives me somewhere an error, but why can not I see this error?

  • Custom User Avatar

    I guess you have a "time out" error? Then you didn't pass all tests at all, your solution is just too slow (if you passed all tests, you should see 1466 succesfull tests, in JS)

  • Default User Avatar

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