Not passing the test cases

what is the problem eith this code

Since constraints are large, you must take the data types as long or long long
Refer this code

still not passing test cases

what is the problem now

Please reply fast…

@Parmeet-Kalsi-1631789033630118 just change the return type of your function to long long int

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.