You are viewing a single comment's thread. Return to all comments →
print(_pow := pow(int(input()), int(input())), _pow % int(input()), sep="\n")
Seems like cookies are disabled on this browser, please enable them to open this website
Power - Mod Power
You are viewing a single comment's thread. Return to all comments →
print(_pow := pow(int(input()), int(input())), _pow % int(input()), sep="\n")