You are viewing a single comment's thread. Return to all comments →
a,b,m = int(input()),int(input()),int(input()) print(pow(a,b),pow(a,b,m),sep='\n')
Power - Mod Power
You are viewing a single comment's thread. Return to all comments →