Ad
  • Custom User Avatar

    No worries, it happens to everyone at some point!

  • Custom User Avatar

    Are you sure that the 0 should equal 1 isn't referencing the test above the one that you're talking about? The input for that test is [1,0,0] and the correct answer for that test is indeed 1.

    The x should equal y will appear below the log for any test that you fail, not above it.

  • Custom User Avatar

    That particular test case is a fixed one, and not random. I can confirm that this test actually expects 0 to be returned, and not 1. Is it possible you're reading the test result incorrectly? I checked in python, not sure about the other languages. Python also has almost 42,000 solves, so I'm guessing the problem isn't with the tests.