Wiining cb scholarship

sir in this problem why are we using long long int . the value of n is from 1 to 10^9 which is in the range of int .

@gulatigarvita08 all the values are in range 10e9 so if you have look at code when we are checking values are being multiplied which exceeds 10e9 thats why
i hope its cleared if yes dont forget to mark it as resolved :smiley:

@gulatigarvita08 if your doubt is cleared please mark it as resolved

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

hey @gulatigarvita08
How can I help you ?