• + 0 comments

    Has anyone successfully passed test case 11

    100000 2
    1 2
    3 4

    expected ans : 4999949998

    the expected output is 4,999,949,998, which exceeds the 32-bit integer limit (2,147,483,647). This seems to cause overflow in languages where int is 32-bit by default.