Modular exponention


why my one test case is getting failed

Hello @lovely i have corrected your code and it is now passing all the test cases.
you should take datatype as long long int.


Happy Learning!!

int32_t main()
in this statement why we have used this format instead of simple format of int main?

Hello @lovely if you can see that i have declared int as long long int on the top.
but the ‘int’ in the int main cannot be of the type long long int so thats why i have done in that way to declare for that i have used the int as of normal type.
Happy Learning!!

ok thanks for the explanation

@lovely you can mark this doubt as resolved if you feel that your query is cleared.
Happy Learning!!

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.