You are viewing a single comment's thread. Return to all comments →
# Enter your code here. Read input from STDIN. Print output to STDOUT a = int(input()) b = int(input()) m = int(input()) print(pow(a, b)) print(pow(a, b, m))
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 →