Test case not getting clear

The reason for it not working is that even pow(2,100) is too big a number to fit in any primitive data type supported.(viz int, long , double).

you have to use fast exponentiation to solve this question

it will not work for large values

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.

https://ide.codingblocks.com/s/285125 still not able to clear test case

Please check comments in the code