mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-27 19:56:28 +00:00
5 lines
113 B
Python
5 lines
113 B
Python
# R39260119
|
|
|
|
a = input().split()
|
|
print(a[0]+"^"+a[1]+" mod "+a[2]+"="+str(pow(int(a[0]), int(a[1]), int(a[2]))))
|