Sir 3/5 test cases are passing. I can’t see for which tc my code is not running. Can you please help?
Thank you.
code link:-
Sir 3/5 test cases are passing. I can’t see for which tc my code is not running. Can you please help?
Thank you.
code link:-
Hi. Just check the constraints

so u would have to use long long int
I have corrected ur code. https://ide.codingblocks.com/s/578698
It is passing all test cases now. Hope ur doubt is resolved now.
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.