Ad
  • Custom User Avatar

    The reason is that 0.9 times the total sum results in a 10% deduction from the aforementioned sum.

  • Custom User Avatar

    log the input using print(drone, lamps) and rethink your algo

  • Custom User Avatar

    Yeah, I get that. But I still don't see why those 13/100 or so cases fail with my given code. How would you go about troubleshooting this? I don't know what input is failing.

  • Custom User Avatar

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

  • Custom User Avatar

    with error messages like this 'oooooo' should equal 'ooooo', it shows you what you returned first, and then what you should have retuned. with one atop the other you can clearly see yours has an extra o:

    'oooooo'
    'ooooo'
    
  • Custom User Avatar

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