• + 0 comments

    The output for one of the test cases do not fit into int range for c++.

    ans is 4999949998 but int represantation is not possible, which is return type of function