Sir, my code is able to pass test case 3 and 4 even though i have written the code in a manner to handle big numbers. Kindly, point out the mistake in my code.
Test case 3 and 4 failed in Math Day problem
Yes, I have switched on the collaborate mode
I am unable to see ur code anywhere… pls save it and send link
Sir i am not able to get the link of coding block ide to share my code with you…So, i have shared a google doc link where you can see as well as edit my code
long long int c = pow(ans,i);
ur code is failing over here… here i can be 10^5 and anything to the power 10^5 can be even stored in long long int… refer this code…
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.