0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 11:28:47 +00:00
OI-codes/problem/P1226/P1226.py
Ren Baoshuo 2c2bc47295
Convert CRLF to LF
`find . -type f -exec dos2unix {} +`
2021-01-02 15:30:52 +08:00

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]))))