Noa ble to pass 4 test cases

please check what’s wrong in my code or the test cases i have been missing instead of providing your code

Hello @sid.rajput23 you have to use your data type as long long int.
as the constraints are larger.
i have corrected your code and it is passing all the test cases now:


if you have any doubt you can ask here:
Happy Learning!!

1 Like

what is int 32 main
??

@sid.rajput23 as i told you that you have to take take data type as long long int.
then for that i have define int of type long long int.
but int int main cant be of type long long so we have to declare it of type int32_t.
its just the syntax.
if you have any doubt you can ask here:
Happy Learning!!

1 Like

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.