Ad
  • Custom User Avatar

    This solution is incorrect. It's an early submission. It passes random tests on occasion, but contain bugs.

  • Custom User Avatar

    I'm using python.

    The test case is obviously false :
    [[77033412951888080, 14949283383840498], [117787497858828, 14949283383840498], [2526695441399712, 14949283383840498]] should equal [[77033412951888085, ...]]

    it should be:
    [[77033412951888080, 14949283383840498], [117787497858828, 14949283383840498], [2526695441399712, 14949283383840498]] should equal [[77033412951888080, ...]]

    In my solution, 7.703341295188808e+16 = 77033412951888080 all the way to the end which should be the correct answer. I can't find a way to get some precision error such as 7.703341295188808e+16 -> 77033412951888085 to match what yongescobar is telling.