0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-18 02:12:05 +00:00

P1226 【模板】快速幂||取余运算

R39260119
This commit is contained in:
Baoshuo Ren 2020-10-07 19:55:45 +08:00 committed by Baoshuo Ren
parent e513f5cc33
commit c527b6d924
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

4
problem/P1226/P1226.py Normal file
View File

@ -0,0 +1,4 @@
# R39260119
a = input().split()
print(a[0]+"^"+a[1]+" mod "+a[2]+"="+str(pow(int(a[0]), int(a[1]), int(a[2]))))