• + 0 comments

    in the statement it is said that n<=1e16, but in the test cases there are values greater than that. maybe what was meant that n has at most 16 digits