etc/Coding Test
[codeup] 97. 수 나열하기3
Jun's N
2021. 12. 27. 17:44
a,m,d,n = map(int, input().split())
for i in range(n-1):
a = a*m+d
print(a)
728x90