Problem:


Score : 200 points

Problem Statement

The development of algae in a pond is as follows.

Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000, the following formula holds:

x_{i+1} = rx_i - D

You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print them in order.

Constraints

2 ≤ r ≤ 5

1 ≤ D ≤ 100

D < x_{2000} ≤ 200

All values in input are integers.

Input

Input is given from Standard Input in the following format:

r D x_{2000}

Output

Print 10 lines. The i-th line (1 ≤ i ≤ 10) should contain x_{2000+i} as an integer.

Sample Input 1

2 10 20

Sample Output 1

30
50
90
170
330
650
1290
2570
5130
10250

For example, x_{2001} = rx_{2000} - D = 2 \times 20 - 10 = 30 and x_{2002} = rx_{2001} - D = 2 \times 30 - 10 = 50.

Sample Input 2

4 40 60

Sample Output 2

200
760
3000
11960
47800
191160
764600
3058360
12233400
48933560



Sample input:
2 10 20


Sample output:
30
50
90
170
330
650
1290
2570
5130
10250

Submission status: Accepted

Solution code:
tmp = input()
nu = tmp.find(' ')
nunu = tmp.rfind(' ')

r = int(tmp[:nu:])
D = int(tmp[nu+1:nunu:])
Xtwo = int(tmp[nunu+1::])

if(r >=2 and r <= 5 and D >= 1 and D <= 100 and Xtwo >= D and Xtwo <= 200):
  xone = r * (Xtwo) - D
  for i in range(10):
    print(xone)
    xone = r * (xone) - D

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())
x = [x2000]
for _ in range(10):
    x.append(x[-1] * r - D)

for i in range(1, 11):
    print(x[i])

Submission status: Accepted

Solution code:
r,d,x2k=map(int,input().split())

for i in range(0,10):
    x2k=x2k*r-d
    print(x2k)

Submission status: Accepted

Solution code:
r, d, x_2000 = map(int, input().split())
for i in range(10):
    x_2000 = r * x_2000 - d
    print(x_2000)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys

s = (input().split(' '))

r,d,x = [int(i) for i in s]

for i in range(10):
    x = r * x - d
    print(x)

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())
for i in range(2001,2011,1):
    x_=r*x-D
    x=x_
    print(x)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

INT = list(map(int,input().split()))
r,D,X = INT[0],INT[1],INT[2]

#print(r,D,X)

for i in range(10):
    X = r*X - D
    print(X)

Submission status: Accepted

Solution code:
r, d, x2000 = map(lambda x: int(x), input().split(' '))

tmp = r * x2000 - d
print(tmp)
for i in range(9):
    tmp = r * tmp - d
    print(tmp)

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())

for i in range(10):
  x = r*x-d
  print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int,input().split())

for i in range(10):
    x = r*x-D
    print(x)

Submission status: Accepted

Solution code:
r,D,x = [int(x) for x in input().split()]
y = []
y.append(x)
tmp = 0
tmp2 = 0
for i in range(10):
    tmp = y.pop(0)
    tmp2 = tmp*r-D
    print(tmp2)
    y.append(tmp2)

Submission status: Accepted

Solution code:
r,D,x=map(int, input().split())
for i in range(1,11):
    print(r*x-D)
    x=r*x-D

Submission status: Accepted

Solution code:
a, b, c = input().split()
a, b, c = int(a), int(b), int(c)

for i in range (10):
  c = a*c -b
  print(c)

Submission status: Accepted

Solution code:
num = input().split()

r = int(num[0])
D = int(num[1])
x = int(num[2])

for i in range(10):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
import queue

"""
N = int(input())
#S = input()
# (N,M) = (int(i) for i in input().split(" "))
# A = [int(i) for i in input().split()]
A = []
for i in range(N):
	A.append(int(input()))

print(A)

"""
(N,M,R) = (int(i) for i in input().split(" "))
for i in range(10):
	R = N*R-M
	print(R)

Submission status: Accepted

Solution code:

r, D, x = map(int, input().split())

for i in range(10):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
R, D, X = map(int, input().split())

def next_year(year):
  return R * year - D

ans = X
for i in range(0, 10):
  ans = next_year(ans)
  print(ans)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import sys
input = sys.stdin.readline

def io_generator():
	return input()

def iil(a_io):
	return map(int, a_io().split())


#+++++++++++++++++++


def main(io):
	a,b,x=iil(io)
	
	for i in range(10):
		x=a*x-b
		print(x)
	
	return

#++++++++++++++++++++

if __name__ == "__main__":
	io= lambda : io_generator()
	ret = main(io)
	if ret is not None:
		print(ret)

Submission status: Accepted

Solution code:
(r,d,x)=map(int,input().split())
for i in range(10):
  ans=r*(x)-d
  x=ans
  print(ans)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
for year in range(2001, 2011):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())

for i in range(0,10):
    result = r * x - D
    print(result)
    x = result

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline
r, d, x = map(int, input().split())
for _ in range(10):
    x = r*x - d
    print(x)

Submission status: Accepted

Solution code:
r, D, x = [int(n) for n in input().split()]

for i in range(10):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
r, d, x = (int(n) for n in input().split())

for j in range(10):
    x = r*x - d
    print(x)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
A=[]
for i in range(10):
  A.append(a*c-b)
  c=a*c-b
for j in A:
  print(j)

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())


for i in range(10):
    x=r*x-d
    print(x)

Submission status: Accepted

Solution code:
inp = input()
r, D, x = [int(inp.split()[i]) for i in range(0, 3)]

for i in range(1, 11):
  x = r * x - D
  print(x)

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())
xi = 0
ans = 0
for i in range(2001, 2011):
    if i == 2001: xi = x2000
    ans = r * xi - D
    print(ans)
    xi = ans

Submission status: Accepted

Solution code:
l = list(map(int, input().split()))

r=l[0]
d=l[1]
x=l[2] 
for i in range(0,10):
    print(r*x-d)
    x=r*x-d

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split(' '))
for i in range(10):
  x = r * x -D
  print(x)

Submission status: Accepted

Solution code:
[r, d, x] = [int(i) for i in input().split()]

for i in range(10):
    x = r * x - d
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
for _ in range(10):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
tmp = input()
r, D, x2000 = tmp.split()
r, D, x2000 = int(r),int(D),int(x2000)

for i in range(10):
  xi = r * x2000 - D
  print(xi)
  x2000 = xi

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())
num = r*x-D
print(num)
for i in range(1,10):
    num = num * r-D
    print(num)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
# ----------------------------------------------------------------
# Use Solve Function

def solve(lines):
    r,D,X = map(int, lines.pop(0).split(' '))
    for i in range(10):
        X = r * X - D
        print(X)
lines = [x.strip() for x in sys.stdin.readlines()]

#
# solve !!
#
solve(lines)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
y=0

for i in range(10):
    y=r*x-d
    x=y
    print(y)

Submission status: Accepted

Solution code:
r ,d ,x = map(int, input().split())

new_x = r * x - d
print(new_x) #2011
for i in range(2002, 2011):
    new_x = r * new_x - d
    print(new_x)

Submission status: Accepted

Solution code:
r, D, x = [int(x) for x in input().split(' ')]

for i in range(10):
  x = r * x - D
  print(x)

Submission status: Accepted

Solution code:
#https://atcoder.jp/contests/abc127
# -*- coding: utf-8 -*-

r,d,x = map(int,input().split())

for i in range(10):
        x = r*x-d
        print(x)

Submission status: Accepted

Solution code:
r, D, x2k = map(int, input().split())
x = x2k
for _ in range(10):
  x = r * x - D
  print(x)

Submission status: Accepted

Solution code:
a,b,c=map(int, input().split())

for i in range(10):
  out = a*c-b
  print(out)
  c=out

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
for i in range(10):
  s1=(a*c) -b
  print(s1)
  c=s1

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import sys

debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        lines.append(input())

    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    token = lines[0].split()
    r = int(token[0])
    d = int(token[1])
    x = int(token[2])

    return (r, d, x)


def solve(r, d, x):

    y = x
    result = 0
    for i in range(10):
        y = r*y - d
        print(y)

    return result


def main():
    # 出力

#    print("%s" % solve(*parse_input()))

    solve(*parse_input())

if __name__ == '__main__':

    main()

Submission status: Accepted

Solution code:
r,D,x=(int(x) for x in input().split())

for i in range(10):
    x = r*x - D

    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())			# "5 7" -> ["5", "7"] -> 5, 7 => N=5,K=7


for i in range(10):
	x = r*x -D
	print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split()) 
for n in range(10):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
r, D, x_ = map(int,input().split())
for i in range(10):
  x = r*x_ - D
  x_ = x
  print(x)

Submission status: Accepted

Solution code:
r,d,x = map(int, input().split())
li = []
a = r*x-d
li.append(a)
for var in range(0, 10):
    li.append(r*li[-1]-d)
for i in range(0,10):
    print(li[i])

Submission status: Accepted

Solution code:
A =input().split()
r = int(A[0])
D = int(A[1])
x_2000 = int(A[2])

#def x(i+1):
#    global x_2000
#    x(2000) = x_2000
#    x = r*x(i) - D
#    return(x)
ans = list()
ans.append(x_2000)
for i in range(1,11):
    ans.append(r*ans[i-1] - D)

for i in range(1,len(ans)):
    print(ans[i])

Submission status: Accepted

Solution code:
R, D, X = map(int,input().split())
for _ in range(10) :
    X = R*X-D
    print(X)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
ans = [x]

for i in range(11):
    ans.append((r * ans[i]) - d)
    if i == 0:
        continue
    print(ans[i])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
r, d, x = map(int, input().split())
for i in range(10):
    x = r * x - d
    print(x)

Submission status: Accepted

Solution code:
read=input
r,d,x=map(int,read().split(' '))
for i in range(10):
  x=int(r*x-d)
  print(x)

Submission status: Accepted

Solution code:
r, d, x2000 = map(int,input().split())
for var in range(0, 10):
  xi = (r * x2000) - d
  print(xi)
  x2000 = xi

Submission status: Accepted

Solution code:
r, D, x0 = map(int, input().split())
alpha = D/(r-1)
for i in range(10):
    print(int((x0 - alpha)*(r**(i+1)) + alpha))

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

for i in range(10):
  x = r * x - D
  print(x)

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())

x = list()
x.append(x2000)
for i in range(1, 11):
    x.append(r * x[i - 1] - D)

for ans in x[1:]:
    print(ans)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())

for i in range(2001,2011):
    x = r * x - d
    print(x)

Submission status: Accepted

Solution code:
r,d,x = [int(s) for s in input().split(' ')]
ans = []
ans.append(r*x-d)

for i in range(1,10):
    ans.append(r * ans[i-1] - d)
    
for j in ans:
    print(j)

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())

for _ in range(10):
	x = r*x - D
	print(x)

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
r = a[0]
D = a[1]
x = [a[2]]
for i in range(10):
  x.append(r*x[i] - D)
  print(x[i+1])

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
z_1=r*x-d
z_2=r*z_1-d
z_3=r*z_2-d
z_4=r*z_3-d
z_5=r*z_4-d
z_6=r*z_5-d
z_7=r*z_6-d
z_8=r*z_7-d
z_9=r*z_8-d
z_10=r*z_9-d
print(z_1)
print(z_2)
print(z_3)
print(z_4)
print(z_5)
print(z_6)
print(z_7)
print(z_8)
print(z_9)
print(z_10)

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())

for i in range(10):
    xn = r * x - D
    print(xn)
    x = xn

Submission status: Accepted

Solution code:
a,b,c=(int(i) for i in input().split())
for i in range(10):
  c=a*c-b
  print(c)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
num1=r*x-d
num2=num1*r-d
num3=num2*r-d
num4=num3*r-d
num5=num4*r-d
num6=num5*r-d
num7=num6*r-d
num8=num7*r-d
num9=num8*r-d
num10=num9*r-d
print(num1)
print(num2)
print(num3)
print(num4)
print(num5)
print(num6)
print(num7)
print(num8)
print(num9)
print(num10)

Submission status: Accepted

Solution code:
r,D,x=map(int, input().split())
for i in range(10):
    num = r*x - D
    print(num)
    x = num

Submission status: Accepted

Solution code:
r, d, x = (int(i) for i in input().split())
for i in range(10):
    x = r * x - d
    print(x)

Submission status: Accepted

Solution code:
r,D,X=map(int,input().split())
i=0
while (i<=9):
    X=r*X-D
    print(X)
    i+=1

Submission status: Accepted

Solution code:
tmp = input().split()
r = int(tmp[0])
D = int(tmp[1])
x = int(tmp[2])

i = 0
while i < 10:
  x = r * x - D
  print(x)
  i += 1

Submission status: Accepted

Solution code:
a = input().split()
x = int(a[2])
for i in range(10):
    b = int(a[0]) * x - int(a[1])
    print(b)
    x = b

Submission status: Accepted

Solution code:
r, d, x = list(map(int, input().split()))

for i in range(1, 11):
    ans = 0
    ans += r * x - d
    x = ans
    print(ans)

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split())

x_back = x2000

# TLEに一票
for i in range(10):
    x_next = r * x_back - D
    print(x_next)
    x_back = x_next

Submission status: Accepted

Solution code:
r, D, X2000 = map(int, input().split())

for i in range(10):
    print(int(r ** (i + 1) * (X2000 - D / (r - 1)) + D / (r - 1)))

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
out = x
for i in range(10):
    out = r*out-d
    print(out)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().strip().split())
for i in range(10):
  x = r * x - D
  print(x)

Submission status: Accepted

Solution code:
A,B,C=list(map(int,input().split()))
ans=C
for _ in range(10):
    ans=A*ans-B
    print(ans)

Submission status: Accepted

Solution code:
input = input().split()

intList = [int(i) for i in input]

result = intList[2]

for i in range(10):
	result = intList[0] * result - intList[1] 
	print(result)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
r, D, X = map(int, input().split())
x = r * X - D
for a in range(10):
	# 出力
	print("{}".format(x))
	x = r * x - D

Submission status: Accepted

Solution code:
r,D,a=map(int,input().split())

x=[]
x.append(a)

for i in range(10):
    x.append(r*x[i]-D)
    print(x[i+1])

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

ans = x
for i in range(10):
  x = r*x -D
  print(x)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split(" "))

for i in range(10):
  x = r * x - d
  print(x)

Submission status: Accepted

Solution code:
r, D, x2000 = map(int,input().split())
x_temp=x2000

for i in range(2000, 2010):
    x_ans = r * x_temp - D
    print(x_ans)
    x_temp = x_ans

Submission status: Accepted

Solution code:
import numpy as np

r,D,x_2000=map(int,input().split())
x = []
x.append(x_2000)
for i in range(0, 10):
    x.append(r * x[i] - D)
    print(x[i+1])

Submission status: Accepted

Solution code:
r,D,xnew  = map(int,input().split())
for i in range(10):
    xnew = r*xnew -D
    print(xnew)

Submission status: Accepted

Solution code:
r, d, x2000 = map(int, input().split())

xs = []
xs.append(x2000)
for i in range(10):
    x = r * xs[i] - d
    print(x)
    xs.append(x)

Submission status: Accepted

Solution code:
def algae(r: int, D: int, x2000: int)->int:
    x = x2000

    res = []
    for _ in range(10):
        x = r*x - D
        res.append(x)

    return res


if __name__ == "__main__":
    r, D, x2000 = map(int, input().split())

    for ans in algae(r, D, x2000):
        print(ans)

Submission status: Accepted

Solution code:
r,d,x=map(int, input().split())
for i in range(1,11):
  x1 = r*x - d
  print(x1)
  x=x1

Submission status: Accepted

Solution code:
from sys import exit
r,d,prev=map(int,input().split())


for i in range(10):
    prev=r*prev-d
    print(prev)

Submission status: Accepted

Solution code:
r,d,x2000=map(int,input().split(" "))
next=x2000
for i in range(10):
	next=next*r-d
	print(int(next))

Submission status: Accepted

Solution code:
r, D, x = map(lambda x: int(x), input().split())

for i in range(10):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
r, D, x_2000 = map(int, input().split())

x = x_2000
for i in range(10):
	x = r * x - D
	print(x)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
for i in range(10):
    x = x * r - d
    print(str(x))

Submission status: Accepted

Solution code:
r,d,x = map(int, input().split())
for i in range(10):
    x = r * x - d
    print(x)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
d = a*c - b
print(d)
for i in range(9):
  d = a*d - b
  print(d)

Submission status: Accepted

Solution code:
r, d, x = (int(i) for i in input().split())

for i in range(10):
  x = r * x - d
  print(x)

Submission status: Accepted

Solution code:
inputs =  list(map(int, input().split()))

r = inputs[0]
D = inputs[1]
x = inputs[2]

for i in range(10):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())
for i in range(10):
    print(r*x-D)
    x=r*x-D

Submission status: Accepted

Solution code:
r,d,b=map(int,input().split())
for i in range(10):
  b=r*b-d
  print(b)

Submission status: Accepted

Solution code:
r,D,X0 = (int(i) for i in input().split())
X=X0
for num in range(10):
  X=r*X-D
  print('%d'%X)

Submission status: Accepted

Solution code:
def main():
    rdx = list(map(int, input().split()))
    r, d, x = rdx[0], rdx[1], rdx[2]
    ans = 0
    arr = []
    for i in range(10):
        if i == 0:
            ans = r * x - d
        else:
            ans = r * arr[i-1] - d
        print(ans)
        arr.append(ans)
main()

Submission status: Accepted

Solution code:
rdx = input().split()
r = int(rdx[0])
d = int(rdx[1])


def rec(i, p):
    n = r*p-d
    print(n)
    if i >= 10:
        return
    return rec(i+1, n)


rec(1, int(rdx[2]))

Submission status: Accepted

Solution code:
r,D,x_2000 = map(int,input().split())

ans = [r*x_2000-D]

for _ in range(9):
  ans.append(r*ans[-1]-D)

[print(v) for v in ans]

Submission status: Accepted

Solution code:
r, d, x = list(map(int, input().split()))
result = [x]
for i in range(10):
  tmp = result[i]*r-d
  print(tmp)
  result.append(tmp)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
ans = []
X = x
for i in range(10):
    ans = r * X - D
    print(ans)
    X = ans

Submission status: Accepted

Solution code:
r,d,x = list(map(int,input().split()))

tmp = x
for i in range(10):
  tmp = r * tmp - d
  print(tmp)

Submission status: Accepted

Solution code:
r,D,x0=map(int, input().split())

x=[x0]

for i in range(10):
    x.append(x[i]*r-D)

for i in range(1,11):
    print(x[i])

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
for i in range(10):
    tmp = r*x-d
    print(tmp)
    x = tmp

Submission status: Accepted

Solution code:
r, D, x = list(map(int, input().split()))

for i in range(10):
    x = r * x - D
    print(x)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
ans = [0] * 10

for i in range(10):
    if i == 0:
        calc = r * x - d
        ans[i] = calc
    else:
        calc = r * ans[i-1] - d
        ans[i] = calc

print(*ans, sep='\n')

Submission status: Accepted

Solution code:
r,D,x = map(int, input().split())

for i in range(10):
  z = r*x - D
  print(z)
  x = z

Submission status: Accepted

Solution code:
r,D,X2000= map(int,input().split())
X = X2000
for i in range(10):
  X = X * r - D
  print(X)

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())

for i in range(10):
  x = r*x-d
  print(x)

Submission status: Accepted

Solution code:
r,d,X=[int(i) for i in input().split()]
for i in range(10):
	X=r*X-d
	print(X)

Submission status: Accepted

Solution code:
#python 3.5.2

r, D, x2000 = [int(i) for i in input().split()]

xi = x2000
for i in range(10):
    xi = r*xi - D
    print(xi)

Submission status: Accepted

Solution code:
r, D, x_2000 = map(int, input().split() )
result = 0

previous_term = x_2000
target_term = 0
for i in range(10):
    target_term = r * previous_term - D
    print(target_term)
    previous_term = target_term

Submission status: Accepted

Solution code:
r, D, x=map(int, input().split())
for _ in range(10):
    x=r*x-D
    print(x)

Submission status: Accepted

Solution code:
r, D, x0 = map(int, input().split())

ans = [x0]
for i in range(10):
  ans.append(r * ans[i] - D)
  print(ans[-1])

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
x1 = r*x - d
x2 = r*x1 - d
x3 = r*x2 - d
x4 = r*x3 - d
x5 = r*x4 - d
x6 = r*x5 - d
x7 = r*x6 - d
x8 = r*x7 - d
x9 = r*x8 - d
x10 = r*x9 - d
print(x1)
print(x2)
print(x3)
print(x4)
print(x5)
print(x6)
print(x7)
print(x8)
print(x9)
print(x10)

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())
for i in range(10):
    i += 1
    print(int((r**i)*(x- d/(r-1)) +d/(r-1)))

Submission status: Accepted

Solution code:
r, D, xi = map(int, input().split())

for i in range(10):
    xi=r*xi - D
    print(xi)

Submission status: Accepted

Solution code:
r, D, x = (int(x) for x in input().split())

for i in range(10):
	x = r * x - D
	print(x)

Submission status: Accepted

Solution code:
a,b,c=(int (x) for x in input().split())
for i in range(10):
  c=(a*c)-b
  print(c)

Submission status: Accepted

Solution code:
r,D,x_2000 = map(int, input().split())
x =[]
x.append(x_2000)

for i in range(10):
    x.append(x[-1]*r-D)
    print(x[-1])

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())
for i in range(10):
  x = r*x -d
  print(x)

Submission status: Accepted

Solution code:
r, d, x = map(int,input().split())
for i in range(10):
    x = r * x - d
    print(x)

Submission status: Accepted

Solution code:
r,D,x = map(int,input().split())
result = x
for i in range(10):
  result = r * result - D
  print(result)

Submission status: Accepted

Solution code:
from sys import stdin
r,D,x=[int(x) for x in stdin.readline().rstrip().split()]
ans=[x]+[0]*10
for i in range(1,11):
    ans[i] = r * ans[i-1] - D
for j in ans[1:11]:
    print(int(j))

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
j = x
for i  in range(10):
    j = r * j - D
    print(j)

Submission status: Accepted

Solution code:
A = list(map(int, input().split())) 
r = A[0]
D = A[1]
f = A[2]
 
 
count = 0
ans = 0
 
for i in range(10):
    f = (r*f) - D 
    count = count + 1
    print(f)
    if(count == 10):
        break

Submission status: Accepted

Solution code:
import sys

r, d, x = sys.stdin.readline().rstrip().split(' ')
r, d, x = int(r), int(d), int(x)
for _ in range(10):
  x = r * x - d
  print(x)

Submission status: Accepted

Solution code:
def main():
    r,D,x = [int(element) for element in input().split(" ")]
    for i in range(10):
        x = r*x - D
        print(x)

if __name__ =='__main__':
    main()

Submission status: Accepted

Solution code:
r, D, x_0 = map(int, input().split())
l = [x_0]
for i in range(10):
  x= r * l[-1] - D
  l.append(x)
for j in range(10):
  print(l[j+1])

Submission status: Accepted

Solution code:
R, D, C = (int(i) for i in input().split())

for i in range(10):
	C = R*C-D
	print(C)

Submission status: Accepted

Solution code:
r,D,x=map(int,input().split())

#x=[0 for _ in range(11)]

#x[0]=x0
 
for i in range(10):
    #x[i+1]=r*x[i]+D
    #print(x[i+1])
    x=r*x-D
    print(x)

Submission status: Accepted

Solution code:
a = input().split()
r = int(a[0])
d = int(a[1])
x = int(a[2])
for i in range(10):
  x = r*x-d
  print(x)

Submission status: Accepted

Solution code:
r,d,x=map(int,input().split())
next=0
now=x
for i in range(10):
    next=r*now-d
    print(r*now-d)
    now=next

Submission status: Accepted

Solution code:
isstr=input()
r,d,x = [int(i) for i in isstr.split(' ')]

for i in range(10):
    x=x*r-d
    print(int(x))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys;
sys.setrecursionlimit(20000) # 再起呼び出しの最大数をセット

# 整数の入力
#n = int(input())

# スペース区切りの整数の入力
#a = [x for x in map(int, input().split())]
r, d, x = map(int, input().split())

# 改行区切りの整数の入力
#a = []
#for x in range(n):
#  a.append(int(input()))

# 文字列の入力
#s = input()

# 出力
#print("{} {}".format(a+b+c, s))
#a.sort()
#print(set(a), file=sys.stderr)
#print(a, file=sys.stderr)

#surfixes = ("dream", "dreamer", "erase", "eraser")

def doit(r, d, x, n):
  for i in range(10):
    x = r * x - d
    print(x)
    
  
try:
  doit(r, d, x, 0)
except Exception as e:
  print(e, file=sys.stderr)

Submission status: Accepted

Solution code:
r,d,x = map(int,input().split())
for _ in range(10):
  x = r*x-d
  print(x)

Submission status: Accepted

Solution code:
r,d,x = map(int,raw_input().split())

for a in range(10):
  x = r*x - d
  print x

Submission status: Accepted

Solution code:
#!/usr/bin/env python3



# Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    r, D, x = map(int, input().split())
    for i in range(10):
        x = x * r - D
        print(x)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def main():
    r,d,x=list(map(int,input().split(' ')))
    for i in range(1,11):
        x = r*x-d
        print(x)
if __name__ =='__main__':
    main()

Submission status: Accepted

Solution code:
r, d, x = [int(_) for _ in input().split()]
for i in range(10):
    x = r*x - d
    print(x)

Submission status: Accepted

Solution code:
r,d,x = map(int, input().split())

for i in range(10):
    ans = x * r - d
    print(ans)
    x = ans

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())

a = r*x - D
b = r*a - D 
c = r*b - D
d = r*c - D
e = r*d - D
f = r*e - D
g = r*f - D
h = r*g - D
i = r*h - D
j = r*i - D

print(a)
print(b)
print(c)
print(d)
print(e)
print(f)
print(g)
print(h)
print(i)
print(j)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())

res = c * a - b
print(res)

for i in range(9):
	res = res * a - b
	print(res)

Submission status: Accepted

Solution code:
r, D, x2000 = map(int, input().split(' '))

xc = x2000
for i in range(10):
    xn = r * xc - D
    print(xn)
    xc = xn

Submission status: Accepted

Solution code:
r,d,x2000 = [int(i) for i in input().split()]

xi = x2000

for i in range(10):
    xi = r*xi - d
    print(xi)

Submission status: Accepted

Solution code:
r,D,x0=map(int,input().split())
x1=r*x0-D
x2=r*x1-D
x3=r*x2-D
x4=r*x3-D
x5=r*x4-D
x6=r*x5-D
x7=r*x6-D
x8=r*x7-D
x9=r*x8-D
x10=r*x9-D
print(x1)
print(x2)
print(x3)
print(x4)
print(x5)
print(x6)
print(x7)
print(x8)
print(x9)
print(x10)

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

def placingMarbles(input_str):
    vals = input_str.split(" ")
    r = int(vals[0])
    D = int(vals[1])
    x_i = int(vals[2])

    for i in range(10):
        x_i = xinext(r, x_i, D)
        print(x_i)

def xinext(r, xi, D):
    return r * xi - D

if __name__ == "__main__":
    placingMarbles(input())

Submission status: Accepted

Solution code:
x = list(map(int, input().split()))
r, D, t = x[0],x[1],x[2]
def x_next(r,D,t):
    return r*t-D
for i in range(10):
    t = x_next(r,D,t)
    print(t)

Submission status: Accepted

Solution code:
r, D, x = map(int, input().split())
res = (r * x) - D
l = [res]
for i in range(9):
    rep = r * l[-1] - D
    l.append(rep)
for j in l:
    print(j)

Submission status: Accepted

Solution code:
def calcNext(r, D, x):
    return r * x - D

r, D, x = map(int, input().split())
for x_ in range(0, 10):
    x = calcNext(r, D, x)
    print(x)

Submission status: Accepted

Solution code:
a=[]#入力画面の二文字を別々の文字に格納
a=input().split(" ")
r=int(a[0])
D=int(a[1])
x=int(a[2])

p0=r*x-D
print(p0)
p1=r*p0-D
print(p1)
p2=r*p1-D
print(p2)
p3=r*p2-D
print(p3)
p4=r*p3-D
print(p4)
p5=r*p4-D
print(p5)
p6=r*p5-D
print(p6)
p7=r*p6-D
print(p7)
p8=r*p7-D
print(p8)
p9=r*p8-D
print(p9)

Submission status: Accepted

Solution code:
l=input().split()
list_ans=[]
A=int(l[0])*int(l[2])-int(l[1])
list_ans.append(A)
for i in range(9):
	B=int(l[0])*int(list_ans[-1])-int(l[1])
	list_ans.append(B)
for j in list_ans:
	print(j)

Submission status: Accepted

Solution code:
x_array = []
r,D,x = (int(i) for i in input().split())
x_array.append(x)
for j in range (10):
    x_array.append(r*x_array[j]-D)
    print(x_array[j+1])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
r, d ,x = map(int, input().split())
"""
r = 2
d = 10 
x = 20
"""

for year in range(10):       
    x = r * x - d
    print(x)

Submission status: Accepted

Solution code:
r, d, x = map(int, input().split())

for i in range(1, 11):
    x = r * x -d
    print(x)

Submission status: Accepted

Solution code:
r, D, x = map(int, input("").split(" "))

for i in range(10):
    x = r*x - D
    print(x)

Submission status: Accepted

Solution code:
s = input().split()
r = int(s[0])
D = int(s[1])
x = int(s[2])

for i in range(10):
    x = r * x - D
    print(int(x))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# abc127/abc127_b
import sys

s2nn = lambda s: [int(c) for c in s.split(' ')]
ss2nn = lambda ss: [int(s) for s in list(ss)]
ss2nnn = lambda ss: [s2nn(s) for s in list(ss)]
i2s = lambda: sys.stdin.readline().rstrip()
i2n = lambda: int(i2s())
i2nn = lambda: s2nn(i2s())
ii2ss = lambda n: [i2s() for _ in range(n)]
ii2nn = lambda n: ss2nn(ii2ss(n))
ii2nnn = lambda n: ss2nnn(ii2ss(n))

def main():
    x = [0] * 11
    r, D, x[0] = i2nn()
    for i in range(10):
        x[i + 1] = r * x[i] - D
        print(x[i + 1])
    return

main()

Submission status: Accepted

Solution code:
r,D,x = map(int, input().split())

tmp = x

for _ in range(10):
    tmp = r * tmp - D
    print(tmp)

Submission status: Accepted

Solution code:
def main():
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = x * r - d
        print(x)

main()

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
x = a[2]
for i in range(10):
    x = x * a[0] - a[1]
    print(x)

Submission status: Accepted

Solution code:
inputs = input().split()

r = int(inputs[0])
D = int(inputs[1])
x_2000 = int(inputs[2])

prevX = x_2000

for i in range(10):
    prevX = r * prevX - D
    print(prevX)

Submission status: Accepted

Solution code:
# B - Algae
# https://atcoder.jp/contests/abc127/tasks/abc127_b

r, d, x = list(map(int, input().split()))

num_list = [r * x - d]

for i in range(9):
    num_list.append(r * num_list[i] - d)
    
for i in num_list:
    print(i)