• Custom User Avatar

    Python new test framework required.

  • Custom User Avatar

    Enabled in this fork

  • Custom User Avatar

    The harder and hardest test cases are returning an "Unspecified Assertion Error" in javascript. Upon close inspection, it seems like some of the array elements are not comma separated (no commas between elements) where there are supposed to be commas. Testing the cases in the browser console returns "Uncaught SyntaxError: missing ] after element list. note: [ opened at line 1, column 18

    Going through the array and adding the missing comma fixes the error. The harder tests are being executed in a combined time of 7ms, while the hardest are being executed in a combined time of 458ms.

  • Custom User Avatar

    I'm getting the same error, execution times on the harder and hardest tests are 2ms, 5ms, 195ms and 257ms. Could this still be slow?

  • Custom User Avatar

    using indexOf is really bad for time complexity. Here's a hint, whats a data structure you can use instead of an array that has a better time complexity when searching?

  • Custom User Avatar

    You should read the details, in particular the value of x

  • Custom User Avatar

    same here, i don't know how to resolve it

  • Custom User Avatar

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

  • Custom User Avatar

    The same error. I changed node version and it didnt helped.

  • Custom User Avatar

    I fixed my issues !
    Note : Do not forget to read every details' lines xD I miss that the value in array are between 0 and 25

  • Custom User Avatar

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

  • Custom User Avatar

    Select node version 8 at the top. It should give you better error messages.

  • Custom User Avatar

    On a harder tests my code runs correctly in a short time but the tests says Unspecified AssertionError and so it does not solved.
    Please help.

  • Custom User Avatar

    same here

  • Custom User Avatar

    I have timeout too

  • Loading more items...