x,n = list(map(int,input().split(" ")))
y = 1
for i in range(n):
y = y * x + y
print(y)
P1634 禽兽的传染病 python代码
最新推荐文章于 2023-11-19 23:19:11 发布
x,n = list(map(int,input().split(" ")))
y = 1
for i in range(n):
y = y * x + y
print(y)