Ad
  • Default User Avatar

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

  • Default User Avatar
    puts "s1 - #{s1}, s2 - #{s2}"
    
  • Default User Avatar

    Hey guys, i'm facing the same problem with my Ruby code. Can you please tell me how do i see which test is it that i am failing? My code passes all the sample tests but in the 'hidden tests' it is failing 2 tests. How do i see what are the tests that i'm failing?

  • Custom User Avatar

    I have passed all tests

    No you didn't, the timeout happened before you could complete all of them, your code isn't fast enough to pass them all, try another approach, O(n2) solutions won't work.

  • Default User Avatar

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

  • Custom User Avatar

    Oops, you're right. Thanks a lot for your quick reply :)

  • Custom User Avatar

    The log appears above the test result, you're confusing the result of a test with the log of the next one, both are ok.
    I've said the same in the post below.

  • Custom User Avatar

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