TestCase no. 9 failing

Can you please help me out where am i getting wrong coz only TestCase 9 is failing others are correct.

Here is my code.

Hello @sayangosw the code which you have written is not optmised that is why it is not passing all the test cases:
you have to optmise it by fast exponentiation which computes the power in log(n) time.

@sayangosw do you need any further help in this?
please confirm here.

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.