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
p03059
u162612857
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b ,c= list(map(int, input().split()))\nprint(int(a//c * b))\n', 'a, b ,c= list(map(int, input().split()))\nprint(int(c//a * b))\n']
['Wrong Answer', 'Accepted']
['s496544842', 's010330218']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 62]
p03059
u162893962
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split())\nprint(int((T + 0.5) * B) // A)', "A, B, T = map(int, input().split())\nif A <= T:\n print(int((T + 0.5) * B) // A)\nelse:\n print('0')", "A, B, T = map(int, input().split())\nif A <= T:\n print(int((T + 0.5)) // A * B)\nelse:\n print('0')\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s022875272', 's934189556', 's142720629']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[66, 102, 103]
p03059
u163320134
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['def gcd(a,b):\n a,b=max(a,b),min(a,b)\n if b==0:\n return a\n else:\n return gcd(b,a%b)\n \nn=int(input())\narr=list(map(int,input().split()))\nif n==2:\n print(max(arr[0],arr[1]))\nelif n==3:\n print(max(gcd(arr[0],arr[1]),gcd(arr[1],arr[2]),gcd(arr[2],arr[0])))\nelse:\n ans1=[]\n for i in range(n):\n ...
['Runtime Error', 'Accepted']
['s068510802', 's877608202']
[3064.0, 2940.0]
[17.0, 17.0]
[553, 78]
p03059
u164474813
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['import fractions\nn = int(input())\na = list(map(int, input().split()))\nforward = [0, a[0]]\nback =[0, a[n-1]]\nfor i in range(1,n-1):\n forward.append(fractions.gcd(forward[i], a[i]))\n back.append(fractions.gcd(back[i], a[n-i-1]))\n\nback.reverse()\n\nans = max(forward[n-2], back[0])\nfor i in range(n-2):\n ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s838491184', 's868419470', 's381636069']
[5048.0, 3064.0, 2940.0]
[37.0, 17.0, 17.0]
[370, 234, 53]
p03059
u166621202
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A,B,T=map(int,input().split())\n\nprint(((T+0.5)//A)*B)\n', 'A,B,T=map(int,input().split())\n\nprint((T + 0.5)//A*B)', 'A,B,T=map(int,input().split())\n\nprint(round(((T+0.5)//A)*B))\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s433013317', 's853923034', 's937312385']
[3188.0, 2940.0, 2940.0]
[20.0, 17.0, 17.0]
[54, 53, 61]
p03059
u167273718
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A,B,T = input().split()\nA = int(A)\nB = int(B)\nT = int(T)\n\nt = T + 0.5\nk = t // A\nbisket = k * B\n\nprint(bisket)\n', 'A,B,T = map(int,input().split())\nA = int(A)\nB = int(B)\nT = int(T)\n\nt = T + 0.5\nk = t // A\nbisket = k * B\n\nprint(bisket)', 'A,B,T = input().split()\nA = int(A)\nB = int(B)\nT = int(T)\n...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s255692746', 's466041010', 's728273628', 's548000624']
[2940.0, 3060.0, 3060.0, 2940.0]
[17.0, 18.0, 17.0, 17.0]
[111, 119, 105, 65]
p03059
u169138653
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split())\nprint(b*t//a)', 'a,b,t=map(int,input().split())\nprint(b*(t//a))']
['Wrong Answer', 'Accepted']
['s215405302', 's410353158']
[2940.0, 2940.0]
[17.0, 17.0]
[44, 46]
p03059
u172111219
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A,B,T = input().split()\nprint(int((T//A)*B)', 'A,B,T = map(int,input().split())\nprint(int((T//A)*B))\n']
['Runtime Error', 'Accepted']
['s496045893', 's991481870']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 54]
p03059
u174603263
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
["import sys\nimport re\nfrom collections import deque, defaultdict, Counter\nfrom math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians\nfrom itertools import permutations, combinations, product\nfrom operator import itemgetter, mul\nfrom copy import deepcopy\nfrom string import ascii_lowercase, ascii_upperc...
['Runtime Error', 'Accepted']
['s774635406', 's144976881']
[2940.0, 4200.0]
[17.0, 70.0]
[795, 614]
p03059
u175590965
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t = map(int,input().split())\nc =(t+0.5)//a\nprint(c*b)', 'a,b,t = map(int,input().split())\nprint((t+0.5)//a*b)', 'a,b,t = map(int,input().split())\nprint((t//a)*b)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s093200623', 's496513474', 's983806399']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[57, 52, 48]
p03059
u178963077
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['\na, b, t = map(int, input().split())\nx = int(t+0.5) / a\nprint(x * b)\n', '\na, b, t = map(int, input().split())\nx = int((t+0.5) / a)\nprint(x * b)\n']
['Wrong Answer', 'Accepted']
['s203875950', 's803697028']
[2940.0, 2940.0]
[17.0, 17.0]
[69, 71]
p03059
u181115044
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = list(map(int,input().split()))\n\nout = (T / A) * B\n\nprint(int(out))', 'input = list(map(int,input().split()))\n\nA = input[0]\nB = input[1]\nT = input[2]\n\nout = (T / A) * B\n\nprint(out)\n', "input = list(map(int,input().split()))\n\nA = input[0]\nB = input[1]\nT = input[2]\n\nout = (T / A) * B\n\nprin...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s056394971', 's080137085', 's227403793', 's304840463', 's651074336']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[76, 110, 117, 76, 80]
p03059
u181215519
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map( int, input().split() )\nprint( (T + 0.5) // A * B )', 'import math\nA, B, T = map( int, input().split() )\nprint( math.floor( (T + 0.5) / A ) * B )']
['Wrong Answer', 'Accepted']
['s020513411', 's869040152']
[3064.0, 2940.0]
[17.0, 17.0]
[65, 90]
p03059
u181644161
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['N=int(input())\nV=list(map(int,input().split()))\nC=list(map(int,input().split()))\nans=0\nfor i in range(N):\n if V[i]-C[i] >0:\n ans+=V[i]-C[i]\nprint(ans)\n', 'A,B,T=map(int,input().split())\nprint(int(B*((T+0.5)//A)))']
['Runtime Error', 'Accepted']
['s512521914', 's934361238']
[2940.0, 2940.0]
[17.0, 17.0]
[155, 57]
p03059
u183087916
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['N=int(input())\nV=[int(i) for i in input().split()]\nC=[int(i) for i in input().split()]\nn=0\nfor j in range(N):\n k=V[j]-C[j]\n if k>0:\n n+=k\nprint(n)', 'N=int(input())\nV=[int(i) for i in input().split()]\nC=[int(i) for i in input().split()]\nn=0\nfor j in range(N):\n k=V[j]-C[j]\n if k>0:\n n+=k\npri...
['Runtime Error', 'Runtime Error', 'Accepted']
['s166176914', 's942680335', 's568906336']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[148, 155, 84]
p03059
u183200783
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split())\n\nprint(int((T+0.5)/A * B))', 'A, B, T = map(int, input().split())\n\nprint(int((T+0.5)/A) * B)']
['Wrong Answer', 'Accepted']
['s652001927', 's030821887']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 62]
p03059
u185896732
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split())\ncnt=0\nfor i in range(1,t+1,a):\n cnt+=b\nprint(cnt)', 'a,b,t=map(int,input().split())\ncnt=0\nfor i in range(1,t+0.5,a):\n cnt+=b\nprint(cnt)', 'a,b,t=map(int,input().split())\ncnt=0\nfor i in range(a,t+1,a):\n cnt+=b\nprint(cnt)']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s260867497', 's835836717', 's360377789']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[83, 85, 83]
p03059
u186967328
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['import fractions\nN = int(input())\nl = list(map(int,input().split()))\n\nif len(l) == 2:\n memo = max(l)\nelse:\n memo = 1\n for i in range(N):\n g = fractions.gcd(*(l[:i]+l[i+1:]))\n if g > memo:\n memo = g\n\nprint(memo)', 'A,B,T = map(int,input().split())\nprint(int(((T+0.5)//A)*...
['Runtime Error', 'Accepted']
['s398841405', 's267390879']
[5048.0, 2940.0]
[35.0, 17.0]
[244, 59]
p03059
u189950446
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int,input().split())\nprint(int(T / A * B))', 'A, B, T = map(int,input().split())\nprint(int(int(T / A) * B))']
['Wrong Answer', 'Accepted']
['s261257629', 's370574093']
[2940.0, 2940.0]
[18.0, 24.0]
[56, 61]
p03059
u192908410
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split())\nprint(t//b*a)', 'a,b,t=map(int,input().split())\nprint(t//a*b)']
['Wrong Answer', 'Accepted']
['s404129720', 's929824764']
[2940.0, 2940.0]
[17.0, 17.0]
[44, 44]
p03059
u193927973
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['N = int(input())\na = list(map(int,input().split()))\nerr = 8\nma1 = [1]\ndef gcd(x, y):\n if y == 0:\n return x\n else:\n return gcd(y, x % y) \nfor i in range(1,N):\n f = gcd(a[0],a[i])\n for j in range(1,N):\n if a[j]%f != 0:\n err = err + 1\n if err == 10:\n ...
['Runtime Error', 'Accepted']
['s045067390', 's071706257']
[3064.0, 2940.0]
[17.0, 17.0]
[680, 72]
p03059
u194440952
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['# -*- coding: utf-8 -*-\n\na, b, c = map(int, input().split())\nint(b * ((t+0.5)//a))', '# -*- coding: utf-8 -*-\na, b, c = map(int, input().split())\nprint(int(b * ((t+0.5)//a)))', '# -*- coding: utf-8 -*-\nimport math\n\na, b, c = map(int, input().split())\nb * math.floor((t+0.5)/a)', '# -*- coding: utf-8 -*-\na, b...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s029172253', 's734096543', 's924374372', 's473080655']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[82, 88, 139, 88]
p03059
u194894739
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['n = int(input())\nA = list(map(int,input().split()))\ngcd_list = []\nmax_element = max(A)\n\ndef gcd(a, b):\n while a % b != 0:\n b_next = a % b\n a = b\n b = b_next\n return b\n\nfor i in range(n):\n y = A[i]\n for j in range(1, max_element + 1):\n A[i] = j\n x = A[0]\n...
['Runtime Error', 'Runtime Error', 'Accepted']
['s356958821', 's614498914', 's929493323']
[3064.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[421, 209, 92]
p03059
u196697332
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split())\n\nnum = T + 0.5 // A\n\nprint(num * B)\n', 'A, B, T = map(int, input().split())\n \nnum = (T + 0.5) // A\n \nprint(int(num * B))']
['Wrong Answer', 'Accepted']
['s199044474', 's511803382']
[2940.0, 2940.0]
[17.0, 17.0]
[72, 80]
p03059
u197300773
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['def gcd(a,b):\n if b>a:\n a,b=b,a\n while b:\n a,b=b, a%b\n return a\n\n\ndef cul(n,x):\n l=len(x)\n b=[x[i] for i in range(l)]\n b.pop(n)\n tmp=b[0]\n for i in range(1,l-1):\n tmp=gcd(tmp,b[i])\n return tmp\n\nimport sys\nimport math\np=10\nN=int(input())\na=list(map(i...
['Runtime Error', 'Accepted']
['s515158555', 's055605045']
[3064.0, 2940.0]
[18.0, 17.0]
[938, 44]
p03059
u201382544
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t = map(int,input().split())\nsum = 0\nsum = ((t + 0.5)//a )* b\nprint(sum)', 'a,b,t = map(int,input().split())\nsum = 0\nsum = (int)((t + 0.5)//a )* b\nprint(sum)']
['Wrong Answer', 'Accepted']
['s002581017', 's452327310']
[2940.0, 2940.0]
[17.0, 17.0]
[76, 81]
p03059
u201449687
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['# import math\nimport fractions\nimport numpy as np\nfrom itertools import accumulate, chain, islice, starmap\nN = int(input())\nnumbers = list(map(int, input().split()))\n# numbers = [2, 4, 8, 8]\n# N = len(numbers)\n\n\ndef calculate_maximum_subgcd_with_np_ufunc(numbers):\n gcd = np.frompyfunc(fractions.gcd, 2, ...
['Runtime Error', 'Accepted']
['s834080976', 's802889850']
[13560.0, 2940.0]
[157.0, 17.0]
[1287, 157]
p03059
u202688141
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['line = list(map(int,input().split()))\nprint(line)\na = (line[2] // line[0]) * line[1]\nprint(a)', 'line = list(map(int,input().split()))\na = (line[2] // line[0]) * line[1]\nprint(a)']
['Wrong Answer', 'Accepted']
['s871798363', 's626183789']
[2940.0, 2940.0]
[17.0, 17.0]
[93, 81]
p03059
u207391881
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int, input().split())\nprint int((t+0.5)/a*b)', 'a,b,t=map(int, input().split())\nprint(int((t+0.5)/a)*b)']
['Runtime Error', 'Accepted']
['s095863697', 's944689153']
[2940.0, 2940.0]
[17.0, 24.0]
[54, 55]
p03059
u208348294
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
["import fraction\nfrom functools import reduce\n\ndef gcd(*numbers):\n return reduce(fraction.gcd, numbers)\n\ndef gcd_list(numbers):\n return reduce(fraction.gcd, numbers)\n\nN = int(input())\nA = (input()).split()\n# N = int('2')\n# A = ('1000000000 1000000000').split()\nA = [int(a) for a in A]\nmax=0\n\nfor i...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s199781185', 's402492755', 's745284529', 's481900298']
[3060.0, 5076.0, 3064.0, 2940.0]
[17.0, 35.0, 18.0, 18.0]
[447, 450, 439, 125]
p03059
u209623844
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['x = input()\nx = x.split(" ")\na = x[0]\nb = x[1]\nc = x[2]\nn = c // a \nreturn(n * b)', 'x = input()\nx = x.split(" ")\na = x[0]\nb = x[1]\nc = x[2]\nn = c // a \nprint(n * b)', 'x = input()\nx = x.split(" ")\na = int(x[0])\nb = int(x[1])\nc = int(x[2])\nn = c // a \nprint(n * b)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s162263665', 's778093303', 's085949314']
[2940.0, 2940.0, 3060.0]
[17.0, 17.0, 19.0]
[81, 80, 95]
p03059
u213401801
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split())\nans=0\nans=(((t+0.5)//a)*b\nprint(int(ans))', 'a,b,t=map(input().split())\nans=0.0\nans=int(((t+0.5)//a)*b)\nprint(ans)', 'a,b,t=map(input().split())\nans=0\nans=int(((t+0.5)//a)*b)\nprint(ans)', 'n=int(input())\nxlist=[]\nylist=[]\nv=list(map(int,input().split()))\nc=list(map(int,inpu...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s068514379', 's606648047', 's831041246', 's997991392', 's796732550']
[2940.0, 2940.0, 2940.0, 3064.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0]
[72, 69, 67, 216, 65]
p03059
u218216885
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split())\nT += 0.5\nprint(int(T/A*B)\n', 'A, B, T = map(int, input().split())\nT += 0.5\nprint(int(T//A*B))\n']
['Runtime Error', 'Accepted']
['s354885878', 's857970420']
[2940.0, 2940.0]
[18.0, 17.0]
[62, 64]
p03059
u218843509
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, c = map(int, inpuit().split())\nprint((c//a)*b)', 'a, b, c = map(int, input().split())\nprint((c//a)*b)\n']
['Runtime Error', 'Accepted']
['s639585173', 's194757910']
[2940.0, 2940.0]
[17.0, 17.0]
[52, 52]
p03059
u220345792
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split())\n\nprint(int(B* T//A))', 'A, B, T = map(int, input().split())\n\nprint(int(B* (T//A)))\n\n']
['Wrong Answer', 'Accepted']
['s040788660', 's667075309']
[2940.0, 2940.0]
[17.0, 17.0]
[56, 60]
p03059
u222207357
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['import math\n\nA,B,T = map(int,input().split())\n\nfreq = math.floor(((T+0.5)/A))\n\nprint(A*freq)', 'import math\n\nA,B,T = map(int,input().split())\n\nfreq = math.floor(((T+0.5)/A))\nprint(B*freq)']
['Wrong Answer', 'Accepted']
['s856885016', 's679573852']
[2940.0, 2940.0]
[17.0, 18.0]
[92, 91]
p03059
u223555291
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,c=map(int,input().split())\nd=0\ne=1\nwhile 1:\n if c+0.5>a:\n a*=e\n e+=1\n d+=b\n else:\n break\nprint(d)\n \n', 'a,b,c=map(int,input().split())\nc+=0.5\nprint(int(c/a*b))', 'a,b,c=map(int,input().split())\nd=0\ne=1\nwhile 1:\n if c+0.5<a:\n a*=e\n e+=1\n d+=b\n else:\n break\nprint...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s115180833', 's409005723', 's718389073', 's582517639']
[2940.0, 2940.0, 3460.0, 2940.0]
[17.0, 17.0, 2104.0, 18.0]
[119, 55, 118, 132]
p03059
u224554402
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['mport math \n\na,b,c= input().split()\nx,y,z=(int(a),int(b),int(c))\np = math.floor(z / x)\nprint(int(p * y))\n', 'import math \n\na,b,c= input().split()\nx,y,z=(int(a),int(b),int(c))\np = math.floor(z / x)\nprint(int(p * y))']
['Runtime Error', 'Accepted']
['s587878374', 's612384922']
[2940.0, 2940.0]
[17.0, 17.0]
[105, 105]
p03059
u225463683
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['import numpy as np\n \nN = input()\nA = np.array([int(x) for x in input().split(" ")])\n\nif len(np.where(A>0)[0])%2 == 0:\n print(np.abs(A).sum())\nelse:\n print(np.abs(A).sum() - np.abs(A).min()*2)', 'a, b, t = [int(x) for x in input().split(" ")]\n\nmul = (t + 0.5) // a\n\nprint(int(b * mul))']
['Runtime Error', 'Accepted']
['s356823243', 's269124960']
[12496.0, 2940.0]
[149.0, 17.0]
[193, 89]
p03059
u226664866
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = int(sys.stdin.readline().strip())\nreturn T // A * B', 'import sys \nA, B, T = list(map(int, sys.stdin.readline().strip().split()))\nprint(T // A * B)\n']
['Runtime Error', 'Accepted']
['s863812739', 's603523906']
[2940.0, 2940.0]
[17.0, 17.0]
[61, 93]
p03059
u227085629
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t = map(int, input().split())\nprint(((t+0.5)//a)*b)', 'a,b,t = map(int, input().split())\nprint(int(((t+0.5)//a)*b))']
['Wrong Answer', 'Accepted']
['s625678203', 's247585882']
[2940.0, 3060.0]
[17.0, 19.0]
[55, 60]
p03059
u227429529
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['import itertools\nn = int(input())\nv = list(map(int, input().split()))\nc = list(map(int, input().split()))\n\nlv = []\nlc = []\ndiff = []\nfor i in range(1,n+1):\n for p in itertools.combinations(v,i):\n lv.append(sum(p))\n for p in itertools.combinations(c,i):\n lc.append(sum(p))\nfor i in rang...
['Runtime Error', 'Accepted']
['s873034488', 's815473391']
[3064.0, 2940.0]
[18.0, 18.0]
[385, 59]
p03059
u233183615
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['N = int(input())\nC = list(map(int, input().split()))\nV = list(map(int, input().split()))\nsum = 0\nfor i in range(N):\n sum += max(0, V[i]-C[i])\nprint(sum)', 'A,B,C = map(int, input().split())\nprint(round(C/A*B))', 'A,B,C = map(int, input().split())\nprint(round((C+0.5)/A*B))', 'A,B,C = map(int, input().split(...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s205546801', 's285647611', 's523872232', 's377454325']
[3060.0, 2940.0, 2940.0, 3188.0]
[17.0, 18.0, 18.0, 18.0]
[155, 53, 59, 54]
p03059
u238084414
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split())\ncnt = 0\n\nfor i in range(0, T+0.5, A):\n cnt += B\nprint(cnt)', 'A, B, T = map(int, input().split())\n\nprint(int(((B/A)*T)))', 'A, B, T = map(int, input().split())\n\nprint(int(B/A) * T)\n', 'A, B, T = map(int, input().split())\n\nprint( (T+1//A) * B)\n', 'A, B, T = map(int, in...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s111570263', 's215518482', 's257754870', 's265792290', 's717885222', 's933937536', 's853271118']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[95, 58, 57, 58, 65, 57, 56]
p03059
u239301277
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['# -*- coding: utf-8 -*-\n\nN = int(input())\nV = map(int, input().split())\nC = map(int, input().split())\n\ngain = 0\nfor i in range(0,N):\n if(V[i]>C[i]):\n gain += V[i] - C[i]\n\nprint(gain)', 'a,b,t=map(int,input().split())\nprint((a//t)*b)', 'a,b,t=map(int,input().split())\nprint((t//a)*b)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s160173295', 's948160366', 's256601135']
[3060.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[192, 46, 46]
p03059
u242031676
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split());print((t+0.5)//a*b)', 'a,b,t=map(int,input().split());print(int((t+0.5)//a*b))']
['Wrong Answer', 'Accepted']
['s991103462', 's069741033']
[2940.0, 2940.0]
[17.0, 17.0]
[50, 55]
p03059
u243159381
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split())\nprint(int(((t+0.5)//a*b))', 'a,b,t=map(int,input().split())\nprint((t+0.5)//a*b)', 'a,b,t=map(int,input().split())\nx=((t+0.5)//a)\nprint(int(x*b))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s501709279', 's772498103', 's812852214']
[8908.0, 9124.0, 9100.0]
[25.0, 29.0, 27.0]
[56, 50, 61]
p03059
u245931985
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = [input(), input(), input()]\n\nprint( B * int((T + 0.5)/A) )\n', 'print( B * int((T + 0.5)/A) )', 'A, B, T = map(int, input().split())\n\nprint( B * int((T + 0.5)/A) )']
['Runtime Error', 'Runtime Error', 'Accepted']
['s436762421', 's598465646', 's512950081']
[2940.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0]
[69, 29, 66]
p03059
u248670337
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split())\nans = ((T + 0.5) // A) * B\nprint(ans)', 'A, B, T = map(int, input().split())\nans = ((T + 0.5) // A) * B\nprint(int(ans))']
['Wrong Answer', 'Accepted']
['s509219882', 's705370767']
[2940.0, 2940.0]
[18.0, 17.0]
[73, 78]
p03059
u251075661
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t = map(int, input().split())\n\nprint(a + b * t)', 'a, b, t = map(int, input().split())\n\nprint(a // t * b)', 'a, b, t = map(int, input().split())\n\nprint(t // a * b)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s656452221', 's832639187', 's474406886']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[53, 54, 54]
p03059
u251302307
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['from functools import reduce\n\nd = {}\n\n\ndef gcd(a, b):\n if (a, b) in d:\n return d[(a, b)]\n else:\n while b != 0:\n a, b = b, a % b\n d[(a, b)] = a\n return a\n\n\ndef gcd_list(numbers):\n return reduce(gcd, numbers)\n\n\nN = int(input())\nA = [int(a) for a in input()...
['Runtime Error', 'Accepted']
['s670195401', 's674236647']
[3572.0, 3060.0]
[22.0, 17.0]
[436, 155]
p03059
u253952966
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t = map(int, input().split())\nreturn (t % a) * b', 'a, b, t = map(int, input().split())\nprint( (t//a)*b)']
['Runtime Error', 'Accepted']
['s524422346', 's508818498']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 52]
p03059
u255499778
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t = list(map(int,input().split()))\nprintf(t//a * b)', 'a,b,t = list(map(int,input().split()))\nprint(t//a * b)']
['Runtime Error', 'Accepted']
['s045953463', 's834758164']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 54]
p03059
u255943004
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['import numpy as np\nimport copy\n\nN = int(input())\nA = [int(i) for i in input().split()]\nA = list(set(A))\n\ndef gcd(a, b):\n while b:\n a, b = b, a % b\n return a\n\nif N==2:\n print(max(A))\nelse:\n gcds = []\n for i in range(len(A)-1):\n if i == 0:\n gcds.append(gcd(A[0],...
['Runtime Error', 'Accepted']
['s949209512', 's882639234']
[14436.0, 2940.0]
[149.0, 18.0]
[1039, 86]
p03059
u257380311
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['n = input().split()\nans = int( int(n[2]+0.5) / n[1] ) * n[1]\nprint(ans)', 'n = input().split()\nprint(int((n[2] + 0.5 ) / n[0]) * n[1])', 'n = input().split()\nans = int( (int(n[2]) + 0.5) / int(n[0])) * int(n[1])\nprint(ans)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s698606040', 's834826196', 's297826718']
[8996.0, 8992.0, 9052.0]
[28.0, 21.0, 28.0]
[73, 59, 84]
p03059
u258589801
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['import math\n\nn = int(input())\na = list(map(int, input().split()))\nmax = 0\n\nfor i in range(n):\n if i == 0:\n b = a[1:]\n elif i == n-1:\n b = a[:n-1]\n else:\n tmp1 = a[:i]\n tmp2 = a[i+1:]\n b = []\n b.extend(tmp1)\n b.extend(tmp2)\n current = b[0]\n...
['Runtime Error', 'Accepted']
['s258006469', 's603819903']
[3064.0, 2940.0]
[17.0, 17.0]
[422, 66]
p03059
u259861571
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, c = map(int,input().split())\nprint((c+0.5)//a*b)', '# AtCoder\na, b, c = map(int, input().split())\nprint(int((c+0.5)//a*b))\n']
['Wrong Answer', 'Accepted']
['s801244374', 's656202952']
[2940.0, 2940.0]
[17.0, 18.0]
[54, 71]
p03059
u260009060
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['###\n### atcorder test program\n###\n\n### math class\nclass math:\n ### GCD\n def gcd(self, a, b):\n if b == 0:\n return a\n return self.gcd(b, a%b)\n\n def gcd_list(self, A):\n if not A:\n return 0\n for i in reversed(range(1, self.gcd(max(A),min(A))+1)):\n...
['Runtime Error', 'Accepted']
['s300808302', 's240392317']
[3064.0, 2940.0]
[18.0, 17.0]
[967, 80]
p03059
u261891508
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=int(input())\nprint((t//a)*b)', 'a,b,t=map(int,input().split())\nprint(b*(t//a))']
['Runtime Error', 'Accepted']
['s384704810', 's201448217']
[2940.0, 2940.0]
[17.0, 17.0]
[34, 46]
p03059
u265401619
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t=map(int, input().split())\ns = (t+0.5) // a \nprint(b*s)', 'a, b, t=map(int, input().split())\ns = (t+0.5) // a \nprint(int(b*s))']
['Wrong Answer', 'Accepted']
['s473848498', 's585696653']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 67]
p03059
u266171694
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['n = int(input())\nv_list = list(map(int, input().split()))\nc_list = list(map(int, input().split()))\nsum = 0\n\nfor v, c in zip(v_list, c_list):\n if v - c > 0:\n sum += v - c\n\nprint(sum)\n', 'a, b, t = map(int, input().split())\nprint(t // a * b)\n']
['Runtime Error', 'Accepted']
['s522342708', 's926821640']
[2940.0, 2940.0]
[17.0, 17.0]
[192, 54]
p03059
u266864786
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t = map(int, input().split)\nprint(b*(t//a))', 'a, b, t = map(int, input().split())\nprint(b*(t//a))']
['Runtime Error', 'Accepted']
['s460917720', 's604014462']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 51]
p03059
u267222408
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t = map(int, input().split())\nbis = 0\nfor i in range(0,t+1,a):\n bis += b\nprint(bis)', 'a, b, t = map(int, input().split())\nbis = 0\nfor i in range(a,t+1,a):\n bis += b\nprint(bis)\n']
['Wrong Answer', 'Accepted']
['s405041207', 's559102648']
[2940.0, 2940.0]
[17.0, 17.0]
[90, 91]
p03059
u268181283
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t = (int(i) for i in input().split())\namount = ((t + 0.5)//a)*b\nprint(amount)', 'a, b, t = (int(i) for i in input().split())\namount = (t + 0.5)//a*b\nprint(amount)', 'A,B,T = map(int, input().split())\nprint(T/A*B)', 'A,B,T = map(int, input().split())\nprint(T//A*B)\n']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s170660286', 's555216099', 's650645828', 's493161923']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[83, 81, 46, 48]
p03059
u269778596
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,c = list(map(int,input().split()))\nprint(a*(c//b))\n', 'a,b,c = list(map(int,input().split()))\nprint(b*(c//a))']
['Wrong Answer', 'Accepted']
['s032346744', 's207870071']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 54]
p03059
u270681687
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['#############################################################...#.....#...#.......\n###########################################.#.################....#...............\n############################################.#..################....##............\n######################.#####################..#.##################...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s142600249', 's965143141', 's246358784']
[2940.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0]
[1659, 3371, 1304]
p03059
u271430213
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split())\nprint(b*(a//t))', 'a,b,t=map(int,input().split())\nprint(b*(t//a))\n']
['Wrong Answer', 'Accepted']
['s586996835', 's138585656']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 47]
p03059
u274549794
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,n=map(int, input().split())\ncount = 0\nt = 0\nwhile t < (n+0.5):\n count += b\n t += a\nprint(count)', 'a,b,n=map(int, input().split())\ncount = 0\nt = 0\nwhile t < n:\n count += b\n t += a\nprint(count)', 'a,b,n=map(int, input().split()) \nif a <= n:\n t = int((n+0.5)/a)\nelse:\n t = 0\nprint(...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s048526791', 's077243409', 's643591691']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[105, 99, 93]
p03059
u275934251
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split())\nprint(max(t//a*b),0)', 'a,b,t=map(int,input().split())\nprint(max(t//a*b),0)', 'a,b,t=map(int,input().split())\nprint(max(t//a*b,0))']
['Runtime Error', 'Runtime Error', 'Accepted']
['s270805411', 's984555317', 's663091948']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[51, 51, 51]
p03059
u276229014
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a , b , t = map(int(), input().split())\nx = 0\ny = 0\nx = t // a\ny = x * b\nprint(y)', 'a,b,t = map(int(),input().split())\nx = t // a\ny = x * b\nprint(y)', ' a,b,t = map(int,input().split())\n x = t // a\n y = x * b\n print(y)', 'a,b,t = map(int,input().split())\nx = t // a\ny = x * b\nprint(y)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s511713051', 's591964129', 's730332020', 's234871966']
[2940.0, 2940.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0, 17.0]
[81, 64, 78, 62]
p03059
u277353449
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A,B,T=map(int,input().split())\nprint(B*(T%A))\n', 'A,B,T=map(int,input().split())\nprint(B*(T//A))']
['Wrong Answer', 'Accepted']
['s100157760', 's644957607']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 46]
p03059
u277641173
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split())\n\nt += 0.5\n\nprint(b*(t//a))', 'a,b,t=map(int,input().split())\n\nt += 0.5\nprint(int(b*(t//a)))']
['Wrong Answer', 'Accepted']
['s593628277', 's880043882']
[3060.0, 2940.0]
[18.0, 17.0]
[57, 61]
p03059
u280978334
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t = map(int,input().split())\ni = 1\nans =0 \nwhile a < t:\n a *= i\n ans += b\n i += 1\nprint(ans)', 'a,b,t = map(int,input().split())\nans =0 \nfor i in range(1,100):\n if a*i > t+0.5:\n break\n ans += b\nprint(ans)']
['Wrong Answer', 'Accepted']
['s228078518', 's080786718']
[2940.0, 2940.0]
[17.0, 17.0]
[99, 122]
p03059
u282335165
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t = map(int, input().split())\n\nprint(((t+0.5)//a)*5)\n', 'a, b, t = map(int, input().split())\n\nprint((t//a)*b)\n']
['Wrong Answer', 'Accepted']
['s166325998', 's807255324']
[2940.0, 2940.0]
[17.0, 17.0]
[59, 53]
p03059
u283520984
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = (int(i) for i in input().split()) \nc=int(T+0.5/A)\nans=c*B\nprint(ans)', 'A, B, T = (int(i) for i in input().split()) \nc=int((T+0.5)/A)\nans=c*B\nprint(ans)']
['Wrong Answer', 'Accepted']
['s158524894', 's887581710']
[2940.0, 2940.0]
[17.0, 22.0]
[79, 81]
p03059
u286201019
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['import numpy as np\n\nN = int( input() )\nA = np.array(list( map( int, input().split() ) ))\n\n\n\nA_abs = np.abs(A)\n\nif 0 in A:\n print(np.sum(A_abs))\n\nelse:\n num = 0\n for i in range(N):\n if A[i] < 0:\n num += 1\n\n if num % 2 == 0:\n print(np.sum(A_abs))\n else:\n ...
['Runtime Error', 'Accepted']
['s317262245', 's770385065']
[12500.0, 2940.0]
[151.0, 18.0]
[652, 152]
p03059
u287341833
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['aaa', 'A=int(input())\nB=int(input())\nT=int(input())\nreward=0\ntime=0\n\nfor t in range(T):\n time += 1\n if time%A == 0:\n reward = reward + B\n \nprint(reward)', 'A, B, T = map(int, input().split())\nreward=0\ntime=0\n\nfor t in range(T):\n time += 1\n if time%A == 0:\n reward = r...
['Runtime Error', 'Runtime Error', 'Accepted']
['s746687319', 's823232416', 's400677079']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[3, 165, 156]
p03059
u288948615
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split())\n\nprint( (T+0.5)//A * B)', 'A, B, T = map(int, input().split())\n\nprint( int((T+0.5)//A * B))\n']
['Wrong Answer', 'Accepted']
['s518767063', 's089617492']
[3188.0, 2940.0]
[19.0, 17.0]
[59, 65]
p03059
u292810930
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['from fractions import gcd\nN = int(input())\nAlist = [0]+list(map(int, input().split()))+[0]\nRlist = [0]*(N+2)\nLlist = [0]*(N+1)\nfor i in range(N):\n Llist[i+1] = gcd(Llist[i], Alist[i])\n Rlist[N-i] = gcd(Rlist[N-i+1], Alist[N-i+1])\nprint(max([gcd(Rlist[i], Llist[i]) for i in range(1,N+1)]))\n', 'A, B, T =...
['Runtime Error', 'Accepted']
['s263131285', 's670200631']
[5048.0, 2940.0]
[36.0, 17.0]
[296, 56]
p03059
u294385082
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t = map(int,input().split())\nsum = 0\n\nfor i in range(1,90):\n if i*a > t+ (1/2):\n ans = i-1\n break\n \nfor j in range(1,i):\n sum += j*b\n \n \nprint(sum)', 'a,b,t = map(int,input().split())\nsum = 0\n\nfor i in range(1,90):\n if i*a > t+ (1/2):\n ans = i-1\n break\n \nfor j in range(1...
['Wrong Answer', 'Accepted']
['s012526227', 's796670370']
[2940.0, 3064.0]
[17.0, 17.0]
[164, 166]
p03059
u295064724
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
["a, b, t = map(int, '20 20 19'.split())\nprint(sum([b for _ in range(a, t + 1, a)]))\n", 'a, b, t = map(int, imput().split())\nprint(sum([b for _ in range(a, t+1, a)]))\n', 'a, b, t = map(int, imput().split())\ntotal = 0\nfor _ in range(a, t+1, a):\n total += b\nprint(total)', 'a, b, t = map(int, imput().split())\n...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s014185654', 's351022181', 's390581968', 's427794699', 's600007773', 's150117667']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 18.0, 17.0, 18.0]
[83, 78, 100, 111, 83, 83]
p03059
u298288339
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a = input()\nb = input()\nt = input()\n\nprint(int((t+0.5)/a)*b)', 'a,b,t=map(int,input().split())\n\nprint(int((t+0.5)/a)*b)']
['Runtime Error', 'Accepted']
['s858397613', 's900814422']
[2940.0, 2940.0]
[17.0, 17.0]
[60, 55]
p03059
u298945776
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split(" "))\nif A>T:\n print(0)\nelse:\n count = (T-T%A)/A\n ans = B * count\n print(ans)', 'A, B, T = map(int, input().split(" "))\nif A>T:\n print(0)\nelse:\n count = (T-T%A)/A\n ans = B * count\n print(int(ans))']
['Wrong Answer', 'Accepted']
['s391984268', 's046199461']
[2940.0, 2940.0]
[18.0, 17.0]
[122, 127]
p03059
u299116973
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = input().split(" ")\nprint(int(int(T)/int(A))*B)', 'A, B, T = input().split()\nprint(int(int(T)/int(A))*int(B))']
['Wrong Answer', 'Accepted']
['s454739794', 's678229779']
[2940.0, 2940.0]
[17.0, 17.0]
[56, 58]
p03059
u303059352
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['list(map(int, input().split()))', 'a, b, t = list(map(int, input().split()))\nprint(t // a * b)']
['Wrong Answer', 'Accepted']
['s116522911', 's045071158']
[2940.0, 3316.0]
[17.0, 19.0]
[31, 59]
p03059
u305052967
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A = int(input())\nB = int(input())\nT = int(input())\nx = T // A\ny = B * x\nprint(y)', 'x = T % A\ny = x * B\nprint(y)', 'A,B,T = map(int,input().split())\nx = T // A\ny = B * x\nprint(y)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s042730670', 's217404173', 's635834010']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[80, 28, 62]
p03059
u305732215
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t = map(int, input().split())\n\nprint((t+0.5)//a*b)', 'a, b, t = map(int, input().split())\n \nprint(int((t+0.5)//a*b))\n']
['Wrong Answer', 'Accepted']
['s028945039', 's158587234']
[2940.0, 2940.0]
[17.0, 17.0]
[56, 63]
p03059
u306497037
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['N = int(input())\nA = list(map(int,input().split()))\nA.sort()\nD = [A[i+1]-A[i] for i in range(len(A)-1)]\n \nif N == 2:\n print(max(A))\nelif len(set(A))==1:\n print(A[0])\nelse:\n for d in D:\n cnt = 0\n for a in A:\n if a%d != 0:\n cnt = cnt+1\n if cnt <=1:\n print(i)\n break\n ...
['Runtime Error', 'Accepted']
['s369214902', 's476873054']
[3064.0, 2940.0]
[17.0, 17.0]
[302, 49]
p03059
u309120194
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A, B, T = map(int, input().split())\n\nprint((T+0.5)//A*B)', 'A, B, T = map(int, input().split())\n \nprint(T // A * B)']
['Wrong Answer', 'Accepted']
['s588770713', 's496380430']
[9076.0, 8752.0]
[25.0, 26.0]
[56, 55]
p03059
u310381103
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A,B,T=list(map(int,input().split()))\nc=0\nfor i in range(1,T+1):\n if i%A==0:\n c+=1\n print(i)\nprint(c*B)', 'A,B,T=list(map(int,input().split()))\nc=0\nfor i in range(1,T+1):\n if i%A==0:\n c+=1\nprint(c*B)']
['Wrong Answer', 'Accepted']
['s437747426', 's271326049']
[2940.0, 2940.0]
[17.0, 17.0]
[119, 102]
p03059
u310528768
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A,B,T = map(int,input().split)\n\ndef main(A,B,T):\n time = A\n sum = 0\n while time <= T+0.5:\n if time%A == 0:\n sum += B\n time += 1\n print(sum)\n return 0\n', 'A,B,T = map(int,input().split())\n\ndef main(A,B,T):\n time = A\n sum = 0\n while time <= T+0.5:\n ...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s182652317', 's480745945', 's666834994', 's986529227', 's638826257']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[194, 196, 165, 175, 133]
p03059
u317177661
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A ,B ,T = map(int, input().split()) \nprint(T/A*B)', 'A ,B ,T = map(int, input().split()) \nprint((T//A)*B)']
['Wrong Answer', 'Accepted']
['s534635230', 's636285868']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 52]
p03059
u317779196
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['#import math\nfrom functools import reduce\n\ndef gcd(a,b):\n if b>a:\n a, b = b, a\n while b:\n a, b = b, a%b\n return a\n\ndef gcds(nums):\n return reduce(gcd, nums)\n\na = int(input())\na = [int(i) for i in input().split()]\n\nans = 0\nfor i in range(len(a)):\n aa = a[:i] + a[(i+1):]\n...
['Runtime Error', 'Accepted']
['s265660104', 's893448539']
[3572.0, 2940.0]
[22.0, 17.0]
[355, 63]
p03059
u318127926
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t = map(int, input.split())\nans = 0\nfor i in range(a, t+1):\n ans += b\nprint(ans)', 'a, b, t = map(int, input().split())\nans = 0\nfor i in range(a, t+1):\n ans += b\nprint(ans)\n', 'a, b, t = map(int, input().split())\nprint(t//a*b)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s220290098', 's479945996', 's354663756']
[2940.0, 2940.0, 9012.0]
[17.0, 17.0, 25.0]
[87, 90, 49]
p03059
u319818856
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['def biscuit_generator(A: int, B: int, T: int)->int:\n return (A//T) * B\n\n\nif __name__ == "__main__":\n A, B, T = map(int, input().split())\n ans = biscuit_generator(A, B, T)\n print(ans)\n', 'def biscuit_generator(A: int, B: int, T: int)->int:\n return (T//A) * B\n\n\nif __name__ == "__main__":\n ...
['Wrong Answer', 'Accepted']
['s896177404', 's351137322']
[2940.0, 2940.0]
[17.0, 17.0]
[195, 195]
p03059
u327668449
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['n = input()\nprint(n)', 'print("!!")', 'n = input()\nargs = n.split()\n\na = int(args[0])\nb = int(args[1])\nt = int(args[2])\n\nc = int(t / a)\n\nprint(c * b)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s163960039', 's330626157', 's505007616']
[2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[20, 11, 110]
p03059
u328207927
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a,b,t=map(int,input().split())\nt+=0.5\nprint(t//a*b)', 'a,b,t=map(int,input().split())\nt+=0.5\nprint(int(t//a*b))']
['Wrong Answer', 'Accepted']
['s028065639', 's054375162']
[3060.0, 2940.0]
[18.0, 19.0]
[51, 56]
p03059
u328364772
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['a, b, t = map(int, input().split())\n\nprint((t+0.5)//a * b)', 'a, b, t = map(int, input().split())\n\nprint(int((t+0.5)//a * b))']
['Wrong Answer', 'Accepted']
['s997996053', 's756168065']
[2940.0, 2940.0]
[17.0, 18.0]
[58, 63]
p03059
u328858746
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A,B,T = map(int,input().split())\nn = int((T + 0.5)//A)\nprint(n*A)', 'A,B,T = map(int,input().split())\nn = int((T + 0.5)//A)\nprint(n*B)']
['Wrong Answer', 'Accepted']
['s388977329', 's176984335']
[2940.0, 2940.0]
[17.0, 17.0]
[65, 65]
p03059
u329143273
2,000
1,048,576
A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation.
['A,B,T=map(int,input().split())\nT2=T+0.5\nprint(T2)\ni=0\nwhile i*A <= T2:\n i += 1\n \ni=i-1\n \nprint(B*i)', 'A,B,T=map(int,input().split())\nT2=T+0.5\ni=0\n\nwhile i*A <= T2:\n i += 1\n \ni=i-1\n \nprint(B*i)']
['Wrong Answer', 'Accepted']
['s517694527', 's925670170']
[3060.0, 2940.0]
[18.0, 17.0]
[102, 93]