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:
parent
e513f5cc33
commit
c527b6d924
4
problem/P1226/P1226.py
Normal file
4
problem/P1226/P1226.py
Normal 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]))))
|
Loading…
Reference in New Issue
Block a user