Modulo exponentiation

9 test cases are passing not the last one

hello @ikshit9
use long long.
check ur updated code here->

why u write int32_t main() instead of int main()

i have change int with long long thats why.

if u want to write int main() then remove the macro that i have defined above.
and explcitly use long long as required places

got your point thanks! for help

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.