Help with Code, 2 test cases are getting failed

2 test cases are getting failed.
Tried both the solutions that are told in hint video.

hello @anujji1999

your submission score is showing 100
image

btw u can share ur code with me.
i will check

@aman212yadav Thanks for the help.
I just replaced int with long long int and it worked fine. :slightly_smiling_face:

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.