problem_id
stringlengths
6
6
user_id
stringlengths
10
10
time_limit
float64
1k
8k
memory_limit
float64
262k
1.05M
problem_description
stringlengths
48
1.55k
codes
stringlengths
35
98.9k
status
stringlengths
28
1.7k
submission_ids
stringlengths
28
1.41k
memories
stringlengths
13
808
cpu_times
stringlengths
11
610
code_sizes
stringlengths
7
505
p03036
u223555291
2,000
1,048,576
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.
['a,b,c=map(int,input().split())\nfor in range(10):\n print(a*c-b)\n b=(a*c-b)', 'a,b,c=map(int,input().split())\nfor i in range(10):\n print(a*c-b)\n c=(a*c-b)\n']
['Runtime Error', 'Accepted']
['s572851734', 's593782282']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 78]
p03036
u226155577
2,000
1,048,576
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.
['A, B = map(int, input().split())\nif A >= 13:\n print(B)\nelif A >= 6:\n print(B//2)\nelse:\n print(0)', 'r, D, x = map(int, input().split())\nfor i in range(10):\n x = r*x - D\n print(x)']
['Runtime Error', 'Accepted']
['s780249363', 's907753104']
[2940.0, 2940.0]
[17.0, 17.0]
[105, 84]
p03036
u231530807
2,000
1,048,576
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.
['x=input()\nxx=x.split()\nr=int(xx[0])\nx2=int(xx[1])\nD=int(xx[2])\ny=[0]*10\nfor i in range(10):\n y[i]+=r*x2-D\n print(y[i])\n x2=y[i]', 'x=input()\nxx=x.split()\nr=int(xx[0])\nx=int(xx[1])\nD=int(xx[2])\ny=[0]*10\nfor i in range(10):\n y[i]+=r*x-D\n print(y[i])\n x=y[i]', 'x=input()\nxx=x.split()\nr=int(xx[0...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s332147599', 's423586752', 's336217077']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[130, 127, 130]
p03036
u235837041
2,000
1,048,576
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.
['r,D,x2000 = map(int, input().split())\nnext_value = algae(x2000)\nfor i in range(10):\n \n print(next_value)\n next_value = algae(next_value)', 'r,D,x2000 = map(int, input().split())\ndef algae(x2000):\n \n ans = r * x2000 - D\n #new_ans = algae(r, D, ans)\n \n return ans\n ...
['Runtime Error', 'Accepted']
['s539312354', 's635636512']
[2940.0, 2940.0]
[17.0, 17.0]
[171, 282]
p03036
u236536206
2,000
1,048,576
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.
['r,d,X=map(int,input().split())\nx=[X]\nfor i in range(10):\n x.append(r*x[i]-d)\ndel x[0]\nprint(x)\nfor i in range(len(x)):\n print(x[i])', 'r,d,X=map(int,input().split())\nx=[X]\nfor i in range(10):\n x.append(r*x[i]-d)\ndel x[0]\n#print(x)\nfor i in range(len(x)):\n print(x[i])']
['Wrong Answer', 'Accepted']
['s652950917', 's093113285']
[2940.0, 3060.0]
[17.0, 17.0]
[137, 138]
p03036
u238801602
2,000
1,048,576
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.
['s = input.split()\nr = int(s[0])\nD = int(s[1])\nx = int(s[2])\n\nfor i in range(10):\n x = r * x - D\n print(x)', 'r = int(input())\nD = int(input())\nx = int(input())\n\nfor i in range(10):\n x = r * x - D\n print(x)', 's = input().split()\nr = int(s[0])\nD = int(s[1])\nx = int(s[2])\n\nfor i in range(1...
['Runtime Error', 'Runtime Error', 'Accepted']
['s288448310', 's638452317', 's012381380']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[111, 102, 118]
p03036
u242870549
2,000
1,048,576
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.
['r, d, x = list(map(int, input().split()))\n\nfor i in range(10):\n x = r * x - d\n\nprint(x)', 'r, d, x = list(map(int, input().split()))\nfor i in range(10):\n x = r * x - d\n print(x)']
['Wrong Answer', 'Accepted']
['s972594017', 's579479142']
[2940.0, 2940.0]
[17.0, 17.0]
[88, 88]
p03036
u244118793
2,000
1,048,576
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.
['r,d,x0 = map(int,input().split())\n\nxlist = []\n\nxlist.append(r*x0-d)\n\nfor i in range(9):\n xlist.append(r*xlist[i]-d)\n print(xlist[i])\n\n\n', 'r,d,x0 = map(int,input().split())\n\nxlist = []\n\nxlist.append(r*x0-d)\n\nfor i in range(10):\n xlist.append(r*xlist[i]-d)\n map(int,xlist)\n print(xlis...
['Wrong Answer', 'Accepted']
['s861568727', 's568371380']
[2940.0, 2940.0]
[17.0, 17.0]
[141, 161]
p03036
u244836567
2,000
1,048,576
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.
['a,b,c=input().split()\na=int(a)\nb=int(b)\nc=int(c)\nd=c\nwhile i<10:\nd=a*d-b\nprint(d)\ni=i+1', 'a,b,c=input().split()\na=int(a)\nb=int(b)\nc=int(c)\ni=0\nwhile i<10:\n i=i+1\n c=a*c-b\n print(c)']
['Runtime Error', 'Accepted']
['s317190350', 's262442264']
[8976.0, 9120.0]
[27.0, 24.0]
[87, 93]
p03036
u253952966
2,000
1,048,576
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.
['r,d,x = map(int, input().split())\nfor i in range(10):\n x =r*x-d\nprint(x)', 'r,d,x = map(int, input().split())\nfor i in range(10):\n x =r*x-d\n print(x)']
['Wrong Answer', 'Accepted']
['s784524952', 's453854048']
[2940.0, 2940.0]
[18.0, 17.0]
[73, 75]
p03036
u257374434
2,000
1,048,576
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.
['\nr,D,x2000 = list(map(int, input().split()))\n\nfor i in range(10):\n new = r *x - D\n print(new)\n x = new\n', '\nr,D,x2000 = list(map(int, input().split()))\n\nfor i in range(10):\n new = r *x2000 - D\n print(new)\n x = new\n', 'r,D,x = list(map(int, input().split()))\n\nfor i in range(10):\...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s094902259', 's315719405', 's358328758']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[114, 118, 109]
p03036
u264265458
2,000
1,048,576
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.
['s=list(map(int,input()))\nfor i in range(10):\n s[2]=s[0]*s[2]-s[1]\n print(s[2])\n', 's=list(map(int,input().split()))\nfor i in range(10):\n s[2]=s[0]*s[2]-s[1]\n print(s[2])\n']
['Runtime Error', 'Accepted']
['s817806126', 's130619603']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 89]
p03036
u268181283
2,000
1,048,576
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.
['r, D, x = [int(i) for i in input().split()]\ni = 1\nwhie i<=10:\n x = r*x - D\n print(X)\n i += 1\t\n\n ', 'r, D, x = [int(i) for i in input().split()]\ni = 1\nwhile i<=10:\n x = r*x - D\n print(x)\n i += 1\t\n']
['Runtime Error', 'Accepted']
['s120782217', 's132172762']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 98]
p03036
u276229014
2,000
1,048,576
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.
['r,d,x = map(int,input(),.split())\n\nfor i in range(10):\n x = r*x-d\n print(x)\n', 'r,d,x = map(int,input().split())\n\nfor i in range(10):\n x = r*x-d\n print(x)\n']
['Runtime Error', 'Accepted']
['s154983733', 's705192296']
[2940.0, 2940.0]
[17.0, 17.0]
[78, 77]
p03036
u276686572
2,000
1,048,576
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.
['arr = input.split()\nr = int(arr[0])\nd = int(arr[1])\nx = int(arr[2])\n\nfor i in range(0,10):\n x = r*x - d\n print(x)', 'arr = input().split()\nr = int(arr[0])\nd = int(arr[1])\nx = int(arr[2])\n\nfor i in range(0,10):\n x = r*x - d\n print(x)\n']
['Runtime Error', 'Accepted']
['s133885301', 's910728303']
[8784.0, 9028.0]
[24.0, 29.0]
[115, 118]
p03036
u280978334
2,000
1,048,576
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.
['r, d, start = map(int,input().split())\nX = [start]\nfor i in range(10):\n X.append(r*X[-1]-d)\nprint(*X,sep="\\n")', 'r, d, start = map(int,input().split())\nX = [start]\nfor i in range(10):\n X.append(r*X[-1]-d)\nprint(*X[1:],sep="\\n")']
['Wrong Answer', 'Accepted']
['s300697880', 's722624929']
[2940.0, 2940.0]
[19.0, 17.0]
[113, 117]
p03036
u290187182
2,000
1,048,576
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.
['a,b, c = map(int, input().split())\nnow = 0\nfor num in range(10):\n now = a*c -b\n print(now)', '\ta,b, c = map(int, input().split())\n now = 0\n for num in range(10):\n if num == 0:\n now = a * c -b\n else:\n now = a * now -b\n print(now)', ' a,b, c = map(in...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s006388849', 's073278866', 's205015881', 's100350666']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 20.0]
[96, 183, 186, 154]
p03036
u302292660
2,000
1,048,576
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.
['r,d,x = map(int,input().split())\nansl =[x]\nfor i in range(10):\n ans = r*ansl[i] - d\n print(ans)', 'r,d,x = map(int,input().split())\nansl =[x]\nfor i in range(10):\n ans = r*ansl[i] - d\n print(ans)\n ansl.append(ans)']
['Runtime Error', 'Accepted']
['s274295450', 's412725737']
[3060.0, 2940.0]
[17.0, 17.0]
[97, 116]
p03036
u304099294
2,000
1,048,576
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.
['N, M = map(int, input().split())\nlmax = 0\nrmin = 10**5\nfor i in range(M):\n L, R = map(int, input().split())\n lmax = max(lmax, L)\n rmin = min(rmin, R)\nans = rmin - lmax\nif ans >= 0:\n print(ans + 1)\nelse:\n print(0)', 'R, D, X = map(int, input().split())\nfor i in range(10):\n X = X*R - D\n ...
['Runtime Error', 'Accepted']
['s002138508', 's103451876']
[9088.0, 8928.0]
[32.0, 26.0]
[227, 84]
p03036
u305732215
2,000
1,048,576
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.
['r, d, x = map(int, input().split())\n\nfor i in range(10):\n x = r*x-d\n print(xi)\n', 'r, d, x = map(int, input().split())\n\nfor i in range(10):\n x = r*x-d\n print(x)\n']
['Runtime Error', 'Accepted']
['s949194109', 's532476238']
[2940.0, 2940.0]
[18.0, 17.0]
[85, 84]
p03036
u311379832
2,000
1,048,576
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.
['r, D, x = map(int, input().split())\nansLst = [0] * 10\nprint(ansLst)\nansLst[0] = int((r * x) - D)\nfor i in range(1, 10):\n ansLst[i] = int((ansLst[i - 1] * r) - D)\nfor i in ansLst:\n print(i)', 'r, D, x = map(int, input().split())\nansLst = [0] * 10\n\nansLst[0] = int((r * x) - D)\nfor i in range(1, 10):\n ...
['Wrong Answer', 'Accepted']
['s026733061', 's325458997']
[3060.0, 3060.0]
[17.0, 17.0]
[194, 181]
p03036
u312148740
2,000
1,048,576
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.
['r, D, x = map(int, input().split())\nx_list = [x]\n\ndef f(x):\n x_list.append(r * x_list[i-1] - D)\n return \n\nfor i in range(1,11):\n f(i)\n\nfor i in x_list:\n print(i) ', 'r, D, x = map(int, input().split())\nx_list = [x]\n\ndef f(x):\n x_list.append(r * x_list[i-1] - D)\n return \n\nfor i in r...
['Wrong Answer', 'Accepted']
['s835057413', 's656716229']
[2940.0, 2940.0]
[17.0, 17.0]
[174, 178]
p03036
u312283004
2,000
1,048,576
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.
['r, D, x = map(int, input().split())\n\nfor i in range(10) :\n x = r*x + D\n print(x)\n', 'r, D, x = map(int, input().split())\n\nfor i in range(10) :\n x = rx + D\n print(x)', 'r, D, x = map(int, input().split())\n\nfor i in range(10) :\n x = r*x - D\n print(x)\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s416000701', 's651391110', 's965672550']
[2940.0, 2940.0, 2940.0]
[16.0, 17.0, 17.0]
[83, 81, 83]
p03036
u316322317
2,000
1,048,576
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.
['r,D,x_2000=map(int,input().split())\nList=[x_2000]\nfor i in range(10):\n List.append(List[i]*r-D)\n \nfor j in range(1,10):\n print(List[j])', 'r,D,x_2000=map(int,input().split())\nList=[x_2000]\nfor i in range(15):\n y=List[i]*r-D\n List.append(y)\n \nfor j in range(1,10):\n print(List[j])\n\n', 'r,D,x_2000=...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s114452782', 's768165584', 's919840763', 's967712793']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[138, 146, 120, 111]
p03036
u316386814
2,000
1,048,576
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.
["print()\nprint(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default. Optional keyword arguments: file: a file-like object (stream); defaults to the current sys.stdout. sep: string inserted between values, default a space. end: string appended afte...
['Runtime Error', 'Accepted']
['s374198890', 's896864862']
[2940.0, 3064.0]
[18.0, 17.0]
[397, 500]
p03036
u316464887
2,000
1,048,576
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.
['r,x,d = map(int, input().split())\nfor i in range(10):\n x = x* r - d\n print(x)\n ', 'r, d, x = map(int, input().split())\nfor i in range(10):\n\tx = r * x - d\n print(x)', 'r, d, x = map(int, input().split())\nfor i in range(10):\n x = r * x - d\n print(x)\n\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s217578730', 's367104715', 's156348419']
[9100.0, 8796.0, 9148.0]
[23.0, 24.0, 25.0]
[82, 83, 88]
p03036
u345524991
2,000
1,048,576
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.
['str = input().split()\n\nr = int(str[0])\nD = int(str[1])\nx2000 = int(str[2])\n\nfor i in range(10):\n print(x2000 = (r*x2000-D))\n ', 'str = input().split()\n\nr = int(str[0])\nD = int(str[1])\nx2000 = int(str[2])\n\nfor i in range(10):\n print(r*x2000-D)\n x2000 = r*x2000-D\n ']
['Runtime Error', 'Accepted']
['s536394957', 's284117849']
[2940.0, 2940.0]
[17.0, 17.0]
[127, 137]
p03036
u346308892
2,000
1,048,576
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.
['def spaceinput():\n return list(map(int,input().split(" ")))\n\nr,D,xx=spaceinput()\n\nfor i in range(11):\n print(xx)\n xx=xx*r-D\n\n', 'def spaceinput():\n return list(map(int,input().split(" ")))\n\nr,D,xx=spaceinput()\n\nfor i in range(10):\n \n xx=xx*r-D\n print(xx)\n\n']
['Wrong Answer', 'Accepted']
['s590644112', 's534722821']
[3064.0, 2940.0]
[18.0, 18.0]
[134, 139]
p03036
u347640436
2,000
1,048,576
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.
['r, d, x = map(int, input().split())\nfor _ in range(10):\n x = r * x -d\nprint(x)\n', 'r, d, x = map(int, input().split())\nfor _ in range(10):\n x = r * x -d\n print(x)']
['Wrong Answer', 'Accepted']
['s771881374', 's343557583']
[2940.0, 2940.0]
[20.0, 17.0]
[80, 81]
p03036
u350093546
2,000
1,048,576
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.
['r,d,x=map(int,input().split())\nfor i in range(10)\n x=r*x-d\n print(x)\n', 'r,d,x=map(int,input().split())\nfor i in range(10):\n x=r*x-d\n print(x)\n']
['Runtime Error', 'Accepted']
['s174837170', 's830515693']
[2940.0, 2940.0]
[17.0, 17.0]
[71, 72]
p03036
u357751375
2,000
1,048,576
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.
['r,d,x = map(int,input().split())\np = []\nfor i in range(10):\n x = r * x - d\n p[i] = x\n\nfor i in range(10):\n print(p[i])', 'r,d,x = map(int,input().split())\np = []\nfor i in range(10):\n x = r * x - d\n p.append(x)\n\nfor i in range(10):\n print(p[i])']
['Runtime Error', 'Accepted']
['s627572353', 's864252170']
[2940.0, 2940.0]
[17.0, 17.0]
[127, 130]
p03036
u360613784
2,000
1,048,576
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.
['r, D, x = map(int, input().split())\n\nfor i in range(10):\n i = r * x - D\n\nprint(i)\n', 'r, D, x = map(int, input().split())\nans = x\n\nfor ans in range(10):\n ans = r * x - D\n x = ans\n\nprint(x)\n', 'r, D, x = map(int, input().split())\nans = x\n\nfor ans in range(10):\n ans = r * x - D\n\nprint(an...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s104151876', 's192471572', 's276240246', 's298810792', 's667901342', 's419667674']
[3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[85, 109, 99, 99, 95, 88]
p03036
u364061715
2,000
1,048,576
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.
['r , D, x = map(int, input().split())\nfor i in range(10):\n print(int(r*x-D))', 'r , D, x = map(int, input().split())\nfor i in range(10):\n print(int(r*x-D))\n x = r*x-D']
['Wrong Answer', 'Accepted']
['s233381813', 's065013717']
[2940.0, 2940.0]
[17.0, 17.0]
[76, 92]
p03036
u368796742
2,000
1,048,576
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.
['r,x,d = map(int,input().split())\nfor i in range(10):\n x = r*x-d\n print(x)', 'r,d,x = map(int,input().split())\nfor i in range(10):\n x = r*x-d\n print(x)\n ']
['Wrong Answer', 'Accepted']
['s656008049', 's641140308']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 78]
p03036
u373723818
2,000
1,048,576
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.
["r, D, x_2000= map(int, input().split(' '))\nxs = [x_2000]\nfor x in range(10):\n\txs.append(r*xs[len(xs)-1]-D)\nprint('\\n'.join(map(str, xs)))", "r, D, x_2000= map(int, input().split(' '))\nxs = [x_2000]\nfor x in range(10):\n\txs.append(r*xs[len(xs)-1]-D)\nxs.pop(0)\nprint('\\n'.join(map(str, xs)))"]
['Wrong Answer', 'Accepted']
['s000581732', 's462403967']
[2940.0, 2940.0]
[17.0, 17.0]
[137, 147]
p03036
u374974389
2,000
1,048,576
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.
['r = int(input())\nD = int(input())\nx = int(input())\n\nfor i in range(0,10):\n result = r * x - D\n print(result)\n x = result', 'r,D,x = map(int,input().split())\n\nfor i in range(0,10):\n result = r * x - D\n print(result)\n x = result']
['Runtime Error', 'Accepted']
['s502504408', 's216468383']
[2940.0, 2940.0]
[20.0, 17.0]
[129, 111]
p03036
u375282392
2,000
1,048,576
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.
['r,D,x = map(int,input().split())\n\ndef func(a):\n return r*func(a-1) - D\n\nfor i in range(10):\n func(x)', 'r,D,x = map(int,input().split())\n\ndef func(a):\n return r*func(a-1) - D\n\nfor i in range(10):\n print(func(x))', 'r,D,x = map(int,input().split())\n\nfor i in range(10):\n x = r*x-D\n print(x)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s540369733', 's822608821', 's126779856']
[3892.0, 3892.0, 2940.0]
[73.0, 75.0, 17.0]
[104, 111, 76]
p03036
u375695365
2,000
1,048,576
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.
['n,d,x=map(int,input().split())\nfor i in range(10):\n x= n*x-d\nprint(x)', 'a,b,c=map(int,input().split())\nans=[c]\nfor i in range(10):\n ans.append(ans[i]*a-b)\n print(ans[i+1])']
['Wrong Answer', 'Accepted']
['s171725482', 's468864734']
[2940.0, 2940.0]
[17.0, 17.0]
[72, 105]
p03036
u379136995
2,000
1,048,576
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.
['r,d,x=map(int,input().split())\nfor i in range(1,10):\n x=r*x-d\n print(x)\n', 'a,b,c=map(int,input().split())\nfor i in range(0,10):\n c=a*c-b\n print(c)\n']
['Wrong Answer', 'Accepted']
['s447927357', 's346472925']
[2940.0, 2940.0]
[17.0, 17.0]
[78, 78]
p03036
u382905693
2,000
1,048,576
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.
['from sys import stdin\nimport numpt as np\n\ndef main(args):\n r = args[0]\n d = args[1]\n x = args[2]\n ar = np.zeros([10])\n\n ar[0] = r*x-d\n for i in range(1,len(ar)):\n ar[i] = r*ar[i-1]-d\n\n for i in ar:\n print(i)\n\nif __name__ == "__main__":\n main([int(x) for x in stdi...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s045968706', 's749050808', 's406933487']
[3064.0, 12404.0, 20112.0]
[17.0, 149.0, 286.0]
[332, 332, 340]
p03036
u390883247
2,000
1,048,576
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.
['r,D,x2000 = map(int,raw_input().split())\nxi = x2000\nfor i in range(1,11):\n xi = r * xi - D\n print(xi)\n', 'r,D,xi = map(int,input().split())\nfor i in range(10):\n xi = r * xi - D\n print(xi)']
['Runtime Error', 'Accepted']
['s500434185', 's362416285']
[2940.0, 2940.0]
[17.0, 19.0]
[108, 87]
p03036
u391532301
2,000
1,048,576
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.
['r,D,x_2000 = map(int,input().split())\nfor i in range(1,11):\n print((r ** i) * (x_2000 + D/(1-r)) - D/(1-r))', 'r,D,x_2000 = map(int,input().split())\nfor i in range(1,11):\n print(int((r ** i) * (x_2000 + D/(1-r)) - D/(1-r)))']
['Wrong Answer', 'Accepted']
['s573267241', 's043504481']
[3316.0, 2940.0]
[21.0, 17.0]
[108, 113]
p03036
u398642144
2,000
1,048,576
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.
["r, d, x_2000 = map(int, input().split(' '))\na = [x_2000] + [0] * 10\nfor i in range(1, 11):\n a[i] = r * a[i - 1] - d\n\nfor x in a:\n print(x)", "r, d, x_2000 = map(int, input().split(' '))\na = [x_2000] + [0] * 10\nfor i in range(1, 11):\n a[i] = r * a[i - 1] - d\n\n[print(x) for x in a]", "r, d, x_2000 = map(i...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s170046787', 's625222806', 's042819489']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[140, 139, 131]
p03036
u418527037
2,000
1,048,576
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.
['r, D, x = list(map(int, input()))\n\nx_ = [0] * 10\n\nfor i in range(10):\n if i == 0:\n x_[i] = r*x - D\n else:\n x_[i] = r*x[i-1] - D\n print(x_[i])\n\n', 'r, D, x = list(map(int, input().split()))\n\nx_ = [0] * 10\n\nfor i in range(10):\n if i == 0:\n x_[i] = r*x - D\n else:\n ...
['Runtime Error', 'Accepted']
['s466398551', 's129125636']
[2940.0, 2940.0]
[17.0, 17.0]
[166, 175]
p03036
u424763114
2,000
1,048,576
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.
['def main():\n i = list(map(int, input().split()))\n\n if i[0] < 2 or 5 < i[0]:\n return\n if i[1] < 1 or 100 < i[1]:\n return\n if i[2] <= i[1] or i[1] > 200:\n return\n\n for j in range(10):\n a = i[0] * i[1] - i[2]\n print(a)\n i[2] = a ', 'def main():\n i...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s303081307', 's762216241', 's387970238']
[3060.0, 3064.0, 3060.0]
[18.0, 17.0, 17.0]
[283, 322, 322]
p03036
u426108351
2,000
1,048,576
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.
['r, D, x2000 = map(int, input().split())\nfor i in range(10):\n x2000 = r*x2000+D\n print(x2000)', 'r, D, x2000 = map(int, input().split())\nfor i in range(10):\n x2000 = r*x2000-D\n print(x2000)']
['Wrong Answer', 'Accepted']
['s169115448', 's070480522']
[2940.0, 2940.0]
[17.0, 17.0]
[94, 94]
p03036
u431347811
2,000
1,048,576
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.
['r,d,x=input().split()\nm = int(x)\nfor i in range(1, 10):\n m = int(r) * int(m) - int(d)\n print(int(m))', 'r,d,x=input().split()\nm = int(x)\nfor i in range(1, 11):\n m = int(r) * int(m) - int(d)\n print(int(m))']
['Wrong Answer', 'Accepted']
['s236792160', 's914556779']
[2940.0, 2940.0]
[17.0, 17.0]
[106, 106]
p03036
u439312138
2,000
1,048,576
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.
['r,D,x = map(int,input().split())\n\ntmp = r * x - D\nprint(tmp)\n\nfor i in range(1 to 10):\n tmp = tmp * x - D\n print(temp)', '30\n50\n90\n170\n330\n650\n1290\n2570\n5130\n10250\n', 'r,D,x = map(int,input().split())\n \ntmp = r * x - D\nprint(tmp)\n \nfor i in range(1 , 10):\n tmp = tmp * r - D\n print(tmp)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s034121869', 's365778743', 's461203638']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[120, 42, 120]
p03036
u454043187
2,000
1,048,576
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.
['r, D, X_1 = input().split()\nr = int(r)\nD = int(D)\nx = int(X_1)\nfor i in range(10):\n print(str(x))\n x = r * x - D\n', 'r, D, X_1 = input().split()\nr = int(r)\nD = int(D)\nx = int(X_1)\nfor i in range(10):\n print(str(x))\n x = r * X - D', 'r, D, X_1 = input().split()\nr = int(r)\nD = int(D)\nx = int(X_1)\nf...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s201858687', 's787182965', 's780415793']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[115, 114, 115]
p03036
u454735747
2,000
1,048,576
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.
['x + 1 = rx - d\n\nr,d,x = map(int(),input().split())\n\nfor i in range(10):\n z = (r * x) - d\n print(z)\n x = z', 'r,d,x = map(int,input().split())\n\nfor i in range(10):\n z = (r * x) - d\n x = z\n print(z)']
['Runtime Error', 'Accepted']
['s987416510', 's741885608']
[2940.0, 2940.0]
[17.0, 17.0]
[105, 87]
p03036
u457460736
2,000
1,048,576
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.
['r,D,x=map(int,input().split())\n\ntmp=x\nfor i in range(10):\n tmp=tmp*r-d\n print(tmp)', 'r,D,x=map(int,input().split())\n\ntmp=x\nfor i in range(10):\n tmp=tmp*r-D\n print(tmp)\n']
['Runtime Error', 'Accepted']
['s770301709', 's122877386']
[9048.0, 9108.0]
[22.0, 27.0]
[84, 85]
p03036
u472696272
2,000
1,048,576
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.
['r = int(input())\nd = int(input())\nx = int(input())\n\nfor i in range(10):\n x = r*x - d\n print(x)', 'r = int(input())\nd = int(input())\nx = int(input())\n\nfor i in range(10):\n x = r*x - d\n print(x)', 'r,d,x = map(int,input().split())\nfor i in range(1,11):\n x = r*x - d\n print(x)\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s931121434', 's988502451', 's042296263']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0]
[96, 96, 80]
p03036
u478266845
2,000
1,048,576
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.
['import numpy as np\nimport math\n\n# input\n\nr, D, x = [int(_) for _ in input().split()]\n\nxans = np.ones(10)\n\ndef Linear_Recursive(x, r, D, N):\n \n if N==0:\n xans = x\n return xans\n \n \n \n xans = r*Linear_Recursive(x, r, D, N-1) - D \n \n return xans\n \nfor i in r...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s035169317', 's090492651', 's265330628', 's312642347', 's739110465', 's877601427', 's656272441']
[12484.0, 12480.0, 12436.0, 20512.0, 14396.0, 12480.0, 12388.0]
[149.0, 150.0, 147.0, 287.0, 176.0, 150.0, 147.0]
[391, 391, 400, 398, 393, 392, 165]
p03036
u485319545
2,000
1,048,576
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.
['r,D,x_2000 = map(int,input().split())\n\n\nX=[x_2000]\nfor i in range(10):\n X.append(r*X[i] - D)\n\n\nprint(*X,sep="\\n")\n ', 'r,D,x_2000 = map(int,input().split())\n\n\nX=[x_2000]\nfor i in range(10):\n X.append(r*X[i] - D)\n\n\nprint(*X[1:],sep="\\n")\n ']
['Wrong Answer', 'Accepted']
['s400511684', 's147699242']
[2940.0, 2940.0]
[18.0, 17.0]
[121, 125]
p03036
u488611616
2,000
1,048,576
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.
['r, D, x = map(int, input().split)\n\n\nfor i in range(10):\n x = (r * x) - D\n print(x)', 'r, D, x = map(int, input().split())\n\n\nfor i in range(10):\n x = (r * x) - D\n print(x)']
['Runtime Error', 'Accepted']
['s587894741', 's043075074']
[2940.0, 2940.0]
[18.0, 17.0]
[84, 86]
p03036
u489585760
2,000
1,048,576
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.
['a,d,x = map(int,input().split())\n\nfor i in range(10):\n s = r*x-d\n print(s)\n x = s\n ', 'r,d,x = map(int,input().split())\n\nfor i in range(10):\n s = r*x-d\n print(s)\n x = s']
['Runtime Error', 'Accepted']
['s916584086', 's905003886']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 84]
p03036
u500897254
2,000
1,048,576
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.
['r, d, x = map(int, input().split())\nfor i in range(10):\n x = r*x+d\n print(x)\n', 'r, d, x = map(int, input().split())\nfor i in range(10):\n x = r*x-d\n print(x)\n']
['Wrong Answer', 'Accepted']
['s738214356', 's162578021']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 83]
p03036
u501163846
2,000
1,048,576
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.
['r,d,x_ini=map(int,input().split())\nx=x_ini\nfor i in range(9):\n x=x*r-d\n print(x*r-d)\n \n', 'r,d,x_ini=map(int,input().split())\nx=x_ini\nfor i in range(10):\n print(x*r-d)\n x=x*r-d\n']
['Wrong Answer', 'Accepted']
['s263647811', 's128490273']
[2940.0, 2940.0]
[17.0, 17.0]
[96, 92]
p03036
u503294750
2,000
1,048,576
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.
['r,D,x=map(int,input().split())\n\ni=1\na=r*x-D\nwhile i<=10:\n\tprint(a)\n a=r*a-D\n\ti+=1', 'r,D,x=map(int,input().split())\n\nc=0\nwhile c<10:\n x=r*x-D\n print(x)\n c+=1']
['Runtime Error', 'Accepted']
['s263560697', 's315042587']
[2940.0, 9136.0]
[17.0, 29.0]
[84, 81]
p03036
u508486691
2,000
1,048,576
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.
['r,D,x=map(int, input().split())\n\na = [0]*11\na[0] = x\n\nfor i in range(1,11):\n a[i] = r*a[i-1]-D\n\nfor i in a[0:11]:\n print(i)', 'r,D,x=map(int, input().split())\n\na = [0]*11\na[0] = x\n\nfor i in range(1,11):\n a[i] = r*a[i-1]-D\n\nfor i in a[1:11]:\n print(i)']
['Wrong Answer', 'Accepted']
['s235055846', 's372633920']
[2940.0, 2940.0]
[17.0, 17.0]
[127, 127]
p03036
u511449169
2,000
1,048,576
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.
['r, d, x = map(int, input(),split())\nfor i in range(10):\n r = r*x-d\n print(r)', 'r, d, x = map(int, input().split())\nfor i in range(10):\n r = r*x-d\n print(r)', 'r, d, x = map(int, input().split())\nfor i in range(10):\n x = r*x-d\n print(x)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s443479956', 's626400931', 's373840857']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[78, 78, 78]
p03036
u517447467
2,000
1,048,576
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.
['r, D, x0 = list(map(int, input().split()))\nfor i in range():\n x1 = r * x - D\n x = x1\n print(x1)', 'r, D, x0 = list(map(int, input().split()))\nfor i in range(10):\n x1 = r * x - D\n x = x1\n print(x1)', 'r, D, x0 = list(map(int, input().split()))\nfor i in range(10):\n x1 = r * x0 - D\n x0 = x1\n print(x...
['Runtime Error', 'Runtime Error', 'Accepted']
['s014616874', 's306987944', 's367705933']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[98, 100, 102]
p03036
u522949850
2,000
1,048,576
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.
['A = list(map(int, input().split())) \ncount = 0\nans = 0\n\nfor i in range(10):\n ans = (r*f) - D \n count = count + 1\n print(ans)\n if(count == 10):\n break\n', 'A = list(map(int, input().split())) \nr = A[0]\nD = A[1]\nf = A[2]\n\n\ncount = 0\nans = 0\n \nfor i in range(10):\n ans = (r*f) - D...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s239484483', 's575443978', 's748052028', 's362446069']
[2940.0, 3060.0, 3064.0, 3060.0]
[17.0, 18.0, 17.0, 17.0]
[169, 198, 166, 196]
p03036
u532514769
2,000
1,048,576
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.
['r,d,x0=map(int,input().split())\nfor i in range(10):\n x0=xo*r-d\n print (x0)', 'r,d,x0=map(int,input().split())\nfor i in range(10):\n x0=x0*r-d\n print (x0)']
['Runtime Error', 'Accepted']
['s178927066', 's336707348']
[2940.0, 2940.0]
[17.0, 17.0]
[76, 76]
p03036
u536866787
2,000
1,048,576
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.
["ints = input().split(' ')\nr, D, x_0 = int(ints[0]), int(ints[1]), int(ints[2])\n\ndef calc(i):\n\tif i==2000:\n\t\treturn r*x_0-D\n\telse:\n\t\treturn r*calc(i-1)-D\nfor i in range(2001, 2010):\n\tprint(calc(i))", "ints = input().split(' ')\nr, D, x_0 = int(ints[0]), int(ints[1]), int(ints[2])\n\ndef calc(i):\n\tif ...
['Wrong Answer', 'Accepted']
['s271486396', 's749621249']
[3060.0, 3060.0]
[17.0, 17.0]
[196, 192]
p03036
u547764399
2,000
1,048,576
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.
['a, b, c = list(map(int, input().split()))\n\nfor i in range(1,11):\n c *= a\n e = c - b\n print(e)', 'a, b, c = list(map(int, input().split()))\n\nfor i in range(1,11):\n c *= a\n c -= b\n print(c)\n']
['Wrong Answer', 'Accepted']
['s045776422', 's312537182']
[2940.0, 2940.0]
[17.0, 19.0]
[102, 100]
p03036
u548178442
2,000
1,048,576
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.
["read=input\nr,d,x=map(int,read()).split(' ')\nfor i in range(10):\n x=int(r*x-d)\n print(x)", "read=input\nr,d,x=map(int,read().split(' '))\nfor i in range(10):\n x=int(r*x-d)\n print(x)"]
['Runtime Error', 'Accepted']
['s608333312', 's491641236']
[2940.0, 2940.0]
[17.0, 20.0]
[89, 89]
p03036
u558452954
2,000
1,048,576
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.
['r,D,x_2000=map(int,input().split())\n\ndef Algae(r,D,x):\n weight=[]\n for _ in range(10):\n x=r*x-D\n weight.append(x)\n return weight\n\nprint("{}".format(Algae(r,D,x_2000)))', 'r,D,x_2000=map(int,input().split())\ndef Algae(r,D,x):\n weight=[]\n for _ in range(10):\n x=r*x-D\n weight.a...
['Wrong Answer', 'Accepted']
['s019446325', 's050365995']
[2940.0, 2940.0]
[17.0, 18.0]
[176, 192]
p03036
u571199625
2,000
1,048,576
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.
['r, d,x = map(int,input().split())\nx_i = 0\nfor i in range(10):\n x_i = x*r-d\n print(x_i)', 'r, d, x = map(int,input().split())\nx_i = x\nfor _ in range(10):\n x_i = x_i*r-d\n print(x_i)']
['Wrong Answer', 'Accepted']
['s081392735', 's563305856']
[2940.0, 2940.0]
[17.0, 17.0]
[88, 91]
p03036
u573754721
2,000
1,048,576
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.
['r,d,x=map(int,input().split())\nprint(x for _ in range(10) x=r*x-d)', 'r,d,x=map(int,input().split())\nfor i in range(10):\n print(r*x-d)\n x=r*x-d\n']
['Runtime Error', 'Accepted']
['s198783881', 's463589833']
[2940.0, 2940.0]
[18.0, 17.0]
[66, 84]
p03036
u577138895
2,000
1,048,576
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.
['r, D, a = map(int, input().split())\n\nold = a\nfor i in range(10):\n \tprint(r * old - D)\n old = r * old - D', 'r, D, a = map(int, input().split())\n \nold = a\nfor i in range(10):\n print(r * old - D)\n old = r * old - D']
['Runtime Error', 'Accepted']
['s942798036', 's003347619']
[2940.0, 2940.0]
[17.0, 17.0]
[108, 106]
p03036
u579475320
2,000
1,048,576
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.
['r, d, x = map(int, input().strip())\nfor i in range(10):\n x = r * x - d\n print(x)\n', 'r, d, x = map(int, input().split())\nfor i in range(10):\n x = r * x - d\n print(x)\n']
['Runtime Error', 'Accepted']
['s518008004', 's186365653']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 83]
p03036
u582663624
2,000
1,048,576
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.
['l=list(map(int,input().split()))\nr=l[0]\nD=l[1]\nx=l[2]\nt=[x]\nfor i in t:\n m=i*r-D\n t.append(m)\n if(len(t)=11):\n break\nfor p in t[1:]:\n\tprint(p)\n', 'l=list(map(int,input().split()))\nr=l[0]\nD=l[1]\nx=l[2]\nt=[x]\nfor i in t:\n m=i*r-D\n t.append(m)\n if(len(t)==11):\n break\nfor p in t[1:]:\n\...
['Runtime Error', 'Accepted']
['s937112358', 's006453636']
[2940.0, 3060.0]
[17.0, 17.0]
[149, 150]
p03036
u586045572
2,000
1,048,576
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.
['r, D, x = map(int, input(),split())\n\ndef calc(r, D, x):\n return (r * x) - D\n\nfor _ in range(10):\n x = calc(r, D, x)\n print(x)', 'r, D, x = map(int, input().split())\n\ndef calc(r, D, x):\n return (r * x) - D\n\nfor _ in range(10):\n x = calc(r, D, x)\n print(x)']
['Runtime Error', 'Accepted']
['s234364138', 's549538664']
[2940.0, 2940.0]
[17.0, 17.0]
[128, 128]
p03036
u589668184
2,000
1,048,576
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.
['r,d,x2000 = [int(i) for i in input().split()]\n\nprint(x2000)\n\nxi = x2000\n\nfor i in range(10):\n xi = r*xi - d\n print(xi)', 'r,d,x2000 = [int(i) for i in input().split()]\n\nxi = x2000\n\nfor i in range(10):\n xi = r*xi - d\n print(xi)']
['Wrong Answer', 'Accepted']
['s746353219', 's085843096']
[2940.0, 2940.0]
[17.0, 17.0]
[124, 110]
p03036
u595289165
2,000
1,048,576
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.
['r, d, x_2000 = map(int, input().split())\nans = []*11\nans[0] = x_2000\nfor i in range(1, 11):\n ans[i] = r * ans[i-1] - d\n print(ans[i])', 'r, d, x_2000 = map(int, input().split())\nans = [0]*11\nans[0] = x_2000\nfor i in range(1, 11):\n ans[i] = r * ans[i-1] - d\n print(ans[i])\n']
['Runtime Error', 'Accepted']
['s524873881', 's948683833']
[2940.0, 2940.0]
[17.0, 17.0]
[139, 141]
p03036
u600319862
2,000
1,048,576
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.
['a,b,c = map(int,input().split())\ndef fib(n):\n if n == 0:\n return c\n else:\n return 2 * fib(n-1) -10\n \nprint(fib(9))', 'a,b,c = map(int,input().split())\ndef fib(n):\n if n == 0:\n return c\n else:\n return a * fib(n-1) -b\n \nfor i in range(10):\n print(fib(i+1))']
['Wrong Answer', 'Accepted']
['s865460349', 's937493083']
[2940.0, 2940.0]
[17.0, 17.0]
[123, 146]
p03036
u600402037
2,000
1,048,576
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.
['r,D,x = map(int,input().split())\ni = 0\nwhile i <= 10:\n x = r * x - D\n print(x)\n i += 1\n \n', '# coding: utf-8\nimport sys\n\nsr = lambda: sys.stdin.readline().rstrip()\nir = lambda: int(sr())\nlr = lambda: list(map(int, sr().split()))\n\nR, D, X = lr()\nfor i in range(1, 11):\n X = R * X - D\n ...
['Wrong Answer', 'Accepted']
['s252506743', 's406222411']
[2940.0, 2940.0]
[17.0, 18.0]
[101, 205]
p03036
u610956125
2,000
1,048,576
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.
['\nimport numpy as np\n\nr,D,x_2000 = map(int,input().split())\n\ndef f(i):\n global x_2000\n global D\n global r\n if i == 2000:\n print (x_2000)\n return x_2000\n temp = f(i-1)*r - D\n print (temp)\n return temp\n \n \n\nf(2010)\n', '# -*- coding: utf-8 -*-\n"""\nCreated on Thu...
['Wrong Answer', 'Accepted']
['s249263104', 's764560302']
[12488.0, 12488.0]
[148.0, 148.0]
[251, 314]
p03036
u612636296
2,000
1,048,576
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.
['r, D, x = map(int, input().split())\nans = []\nX = x\nfor i in range(D):\n ans.append(X + D)\n X = ans[i]\nelse:\n ans.reverse()\n for i in range(D):\n print(ans[i])\n', 'r, D, x = map(int, input().split())\nans = []\nX = x\nfor i in range(10):\n ans = r * X - D\n print(ans)\n X = ans']
['Wrong Answer', 'Accepted']
['s141371204', 's451709659']
[3060.0, 2940.0]
[17.0, 17.0]
[176, 117]
p03036
u635540732
2,000
1,048,576
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.
['r,d,x = map(int,input().split())\nfor _ in range(10):\n print(x)\n x = x*r-d', 'r,d,x = map(int,input().split())\nfor _ in range(11):\n print(x)\n x = x*r-d', 'r,d,x = map(int,input().split())\nfor _ in range(10):\n x = x*r-d\n print(x)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s214024089', 's644247306', 's236164758']
[3316.0, 2940.0, 2940.0]
[23.0, 17.0, 17.0]
[75, 75, 75]
p03036
u637334038
2,000
1,048,576
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.
['def func(r, x, d):\n return r * x - d\n\ndef main():\n r, d, x0 = map(int, input().split())\n\n lst = list()\n lst.append(x0)\n for i in range(0, 10):\n lst.append(func(r, lst[i], d))\n \n for i in range(1, 10):\n print(lst[i])\n \nmain()', 'def func(r, x, d):\n return r * x -...
['Wrong Answer', 'Accepted']
['s049478364', 's613552648']
[2940.0, 3060.0]
[17.0, 17.0]
[262, 294]
p03036
u641722141
2,000
1,048,576
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.
['a,b,c=map(int,input().split())\nfor i in range(10):\n s1=(a*c) -b\n print(s1)\n a=s1', 'a,b,c=map(int,input().split())\nfor i in range(10):\n s1=(a*c) -b\n print(s1)\n c=s1']
['Wrong Answer', 'Accepted']
['s077747385', 's747865328']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 83]
p03036
u652737716
2,000
1,048,576
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.
['r, d, x = map(int, input().split())\nfor _ in range(10):\n\tx = x * r - d\n print(x)\n', 'r, d, x = map(int, input().split())\nfor _ in range(10):\n x = x * r - d\n print(x)\n\n']
['Runtime Error', 'Accepted']
['s128262870', 's525205196']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 88]
p03036
u663014688
2,000
1,048,576
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.
['r d x = map(int, input().split())\n\nfor i range (10):\n ans = x * r - d\n print(ans)\n x = ans', 'r,d,x = map(int, input().split())\n\nfor i in range(10):\n ans = x * r - d\n print(ans)\n x = ans']
['Runtime Error', 'Accepted']
['s141759586', 's740502219']
[2940.0, 2940.0]
[16.0, 17.0]
[99, 101]
p03036
u672475305
2,000
1,048,576
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.
['r,d,x = map(int,input().split())\nfor i in range(1,11):\n w = r*x - d\n x = w\n print(W)', 'r,d,x = map(int,input().split())\nfor i in range(1,11):\n w = r*x - d\n x=w\n print(w)']
['Runtime Error', 'Accepted']
['s814220227', 's797649750']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 91]
p03036
u680442866
2,000
1,048,576
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.
['r,d,x=map(int,input().split())\nfor i in range(1,10):\n x=r*x-d\n print(x)', 'r,d,x=map(int,input().split())\nfor x in range(1,10):\n x=r*x-d\n print(x)', 'r,d,x=map(int,input().split())\nfor i in range(0,10):\n x=r*x-d\n print(x)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s011638181', 's853450346', 's076438466']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[73, 73, 73]
p03036
u680851063
2,000
1,048,576
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.
['r,d,x = map(int, input().split())\nz=0\nfor i in range(11):\n x=x*r-d\n print(x)', 'r,d,x = map(int, input().split())\nfor i in range(1,11):\n x=x*r-d\n print(x)\n\n']
['Wrong Answer', 'Accepted']
['s008922700', 's789754047']
[2940.0, 2940.0]
[17.0, 17.0]
[80, 80]
p03036
u681110193
2,000
1,048,576
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.
['r,d,x=int(input().split())\n\nfor i in range(11):\n x= x*r-d\n print(x)', 'r,d,x=map(int,input().split())\n\nfor i in range(11):\n x= x*r-d\n print(x)\n\n', 'r,d,x=map(int,input().split())\n\nfor i in range(10):\n x= x*r-d\n print(x)\n\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s226082214', 's409674302', 's253410054']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[69, 75, 75]
p03036
u692311686
2,000
1,048,576
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.
['r,D,x = [int(i) for i in input().split()]\nn=2000\nwhile n <=2010: \n print(x) \n X=r*x-D\n x=X\n n=n+1\n ', 'r,D,x = [int(i) for i in input().split()]\nn=2000\nX=r*x-D\nx=X\nwhile n <=2009: \n print(x) \n X=r*x-D\n x=X\n n=n+1\n \n \n ']
['Wrong Answer', 'Accepted']
['s812714859', 's303753175']
[2940.0, 2940.0]
[17.0, 17.0]
[110, 156]
p03036
u693524218
2,000
1,048,576
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.
['r,D,x = [int(i) for i in input().split()]\n\nprint(r)\n\n\ndef calu(r,D,x):\n X =x\n for j in range(10):\n X = r*X-D\n print(X)\n\ncalu(r,D,x)', 'r,D,x = [int(i) for i in input().split()]\ndef calu(r,D,x):\n X =x\n for j in range(10):\n X = r*X-D\n print(X)\n\ncalu(r,D,x)']
['Wrong Answer', 'Accepted']
['s913774491', 's360852582']
[3060.0, 2940.0]
[17.0, 17.0]
[149, 137]
p03036
u703890795
2,000
1,048,576
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.
['r, D, x2000 = map(int, input().split())\nfor i in range(10):\n x = r*x - D\n print(x)', 'r, D, x2000 = map(int, input().split())\nx = x2000\nfor i in range(10):\n x = r*x - D\n print(x)']
['Runtime Error', 'Accepted']
['s373037959', 's598694786']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 94]
p03036
u705418271
2,000
1,048,576
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.
['r,d,x=map(int,input().split())\n\nfor i inrange(1,11):\n x=r*x-d\n print(x)', 'r,d,x=map(int,input().split())\n\nfor i in range(1,11):\n x=r*x-d\n print(x)']
['Runtime Error', 'Accepted']
['s886442519', 's842875952']
[8948.0, 9048.0]
[26.0, 30.0]
[73, 74]
p03036
u709373021
2,000
1,048,576
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.
['x, r, D = map(int, input().split())\nfor _ in range(1, 11):\n x = r*x - D\n print(x)', 'r, d, x = [int(i) for i in input().split()]\n\nfor i in range(10):\n x = r*x - d\n print(x)\n']
['Wrong Answer', 'Accepted']
['s213380887', 's601689914']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 90]
p03036
u716529032
2,000
1,048,576
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.
['r, D, x = map(int, input().split())\nfor i in range(10):\n r = r * x - D\n print(r)', 'r, D, x = map(int, input().split())\nfor i in range(10):\n x = r * x - D\n print(x)\n']
['Wrong Answer', 'Accepted']
['s365420281', 's912132989']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 83]
p03036
u726212005
2,000
1,048,576
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.
['r,D,x=map(int,input().split())\nfor i in range(10):\n\tx=r*x-D\n print(x)', 'r,D,x=map(int,input().split())\nfor i in range(10):\n\tx=r*x-D\n\tprint(x)']
['Runtime Error', 'Accepted']
['s263423664', 's317925222']
[3064.0, 2940.0]
[18.0, 17.0]
[72, 69]
p03036
u739843002
2,000
1,048,576
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.
['r, D, x = list(map(lambda a: int(a), input().split(" ")))\n\nans = []\nfor i in range(10):\n x = r * x - D\n ans.append(x)\n\nprint("\\n".join(str(ans)))', 'r, D, x = list(map(lambda a: int(a), input().split(" ")))\n \nans = []\nfor i in range(10):\n x = r * x - D\n ans.append(str(x))\n \nprint("\\n".join(ans))']
['Wrong Answer', 'Accepted']
['s348364243', 's373672496']
[9040.0, 9172.0]
[29.0, 28.0]
[147, 149]
p03036
u746793065
2,000
1,048,576
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.
['r, d, x = map(int, input().split())\n\nfor i in range(11):\n x = r * x - d\n print(x)', 'r, d, x = map(int, input().split())\n\nfor i in range(10):\n x = r * x - d\n print(x)\n']
['Wrong Answer', 'Accepted']
['s434942204', 's364486791']
[9136.0, 9092.0]
[23.0, 24.0]
[83, 84]
p03036
u756399469
2,000
1,048,576
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.
['r,d,x = map(int,input().split())\nprint(x)\nfor k in range(9):\n x = r*x -d\n print(x)', 'r,d,x = map(int,input().split())\nfor k in range(10):\n x = r*x -d\n print(x)']
['Wrong Answer', 'Accepted']
['s933902143', 's164791310']
[2940.0, 3060.0]
[17.0, 19.0]
[84, 76]
p03036
u757274384
2,000
1,048,576
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.
['r,d,x = map(int, input().split())\n\nL = [x]\nfor i in range(1,11):\n L.append(L[i-1]*r - d)\n \nfor i in range(len(L)):\n print(L[i])', 'r,d,x = map(int, input().split())\n\nL = [x]\nfor i in range(1,11):\n L.append(L[i-1]*r - d)\n \nL.pop(0)\nfor i in range(len(L)):\n print(L[i])\n']
['Wrong Answer', 'Accepted']
['s318563906', 's071231929']
[2940.0, 2940.0]
[17.0, 17.0]
[130, 140]