Skip to content

Commit

Permalink
solve/#177: python 풀이
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-muuu committed Jan 29, 2024
1 parent 987fb14 commit 094f79c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Python/소프티어/바이러스.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import sys

input = sys.stdin.readline()
k, p ,n = list(map(int,input.split()))

for i in range(n):
k = k*p%1000000007

print(k)

0 comments on commit 094f79c

Please sign in to comment.