Ad
  • Custom User Avatar

    Yes. I'm happy to see that my solution works correctly! :)

  • Custom User Avatar

    Probably, your "Huge random tests" exceed the maximum value of uint64 in Go, and your "Large random tests" have mistakes.
    How these test results can be possible?

    Large random tests
    Expected
    : 783127951977313736
    to equal
    : 9223372036854775807
    Completed in 0.7660ms
    Huge random tests
    Expected
    : 2496415243334469016
    to equal
    : 9223372036854775807