i am getting only one test case paSS what is wrong with the code https://ide.codingblocks.com/s/225998
Wrong answer okihi8u89uu9ik
Hey @mayank10
You are supposed to take number of test cases as input but you haven’t
Please look into it
That might be the issue
still getting three test case wrong
is there any mistake in modulo conversion or the value gets overflow
Hey @mayank10
Your code had very poor formatting and was hence incomprehensible
Also your code didn’t pass the sample case either so I’m surprised it passed the test cases
Please have a look at this code
sir please give the code in java so i can find out my mistakes
i made the new power fuction from your logic https://ide.codingblocks.com/s/223344 please tell me the mistake
@mayank10
I do not work with Java unfortunately
Maybe you can reopen another doubt if you need Java related help
Make sure you mention in the title that you need Java helper
@mayank10
Thanks for following my advice
But you have not mentioned JAVA in your query
A C++ TA might be assigned to your query again
Please update your query if possible to avoid wasting your time
actually there is no option for changing title