Your Input: -10000000000 Expected output is -126087180
Shouldn’t it be 0?
i also can’t understand why this is happenning
It is because you are giving a value more than integer maximum value as the input
It is ‘0’. Expected output is not working properly for this problem