Test case value is larger than possible int


There is a 3000000001 number in test case for int argument, but 3000000001 is larger than int could be.
Can you please explain how to deal with it?


hi there , the largest integer in C++ is 9 followed 18 9’s. The mentioned test case can be passes using "long long int "instead of normal int.