You are viewing a single comment's thread. Return to all comments →
a,b,c=float(input()),float(input()),float(input()) print(int(pow(a,b))) if b>0: a=int(a) b=int(b) c=int(c) print(pow(a,b,c))
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 →