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
u524644593
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\ndef mygcd(N,A,S):\n if S == 'R':\n A.reverse()\n ans = [0, A[0]]\n for i in range(1, N):\n ans.append(fractions.gcd(ans[i],A[i]))\n if S == 'R':\n ans.reverse()\n return ans\n\ndef GCDonBlack(N,A):\n L = mygcd(N,A,'L')\n R = mygcd(N,A,'R')\n M = [fraction...
['Runtime Error', 'Accepted']
['s040416949', 's994291892']
[5048.0, 2940.0]
[36.0, 17.0]
[441, 57]
p03059
u527261492
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\nd=b*c\nprint(d)', 'a,b,t=map(int,input().split())\nc=t//a\nd=b*c\nprint(d)\n']
['Wrong Answer', 'Accepted']
['s589306652', 's557812524']
[2940.0, 2940.0]
[18.0, 17.0]
[58, 53]
p03059
u528388170
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']
['s227599361', 's981079894']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 50]
p03059
u530647922
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 = T+0.5\nint(T/A)*B', 'A,B,T = map(int ,input().split())\nT = T+0.5\nprint(int(T/A)*B)']
['Wrong Answer', 'Accepted']
['s298308827', 's672149892']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 61]
p03059
u532514769
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)', 'a,b,c=map(int,input().split())\nprint((c//a)*b)']
['Wrong Answer', 'Accepted']
['s608557769', 's692977834']
[2940.0, 2940.0]
[17.0, 17.0]
[50, 46]
p03059
u535827181
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())\n\nC = T // A\nD = A * C\n\nprint(D)\n', 'A, B, T= (int(i) for i in input().split())\n\nC = T // A\nD = B * C\n\nprint(D)\n']
['Wrong Answer', 'Accepted']
['s084214445', 's448616177']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 75]
p03059
u538632589
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()]\nans = 0\nfor i in range(1, 20):\n if t < i*a:\n break\n t = t - i*a\n ans += b\nprint(ans) \n \n ', 'a, b, t = [int(i) for i in input().split()]\nans = 0\nfor i in range(1, 30):\n if t < i*a:\n break\n t = t - i*a\n ans += b\nprint(...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s022434916', 's171975555', 's201875815']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[158, 158, 154]
p03059
u542605091
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) - ((t + 0.5) % a)) / a) * b)', 'a, b, t = map(int, input().split())\nprint(int((((t + 0.5) - ((t + 0.5) % a)) / a) * b))']
['Wrong Answer', 'Accepted']
['s626912933', 's593093949']
[3060.0, 2940.0]
[18.0, 17.0]
[82, 87]
p03059
u542684461
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.
["#!/bin/env python\n \n\nif __name__=='__main__':\n val_n = input()\n list_v = list(map(int,input().split()))\n list_c = list(map(int,input().split()))\n\n answer = 0\n for i in range(len(list_v)):\n if(list_v[i] - list_c[i] > 0):\n answer += list_v[i] - list_c[i]\n print(answer)", '#!/bin/env python\n ...
['Runtime Error', 'Accepted']
['s470093753', 's539095699']
[3060.0, 3064.0]
[18.0, 19.0]
[282, 792]
p03059
u547608423
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(B*((T+0.5)//A))', 'A,B,T=map(int,input().split())\n\nprint(int(B*((T+0.5)//A)))']
['Wrong Answer', 'Accepted']
['s074187153', 's292275285']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 58]
p03059
u548545174
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 + 0.5)//A))', 'A, B, T = map(int, input().split())\nprint(B * T // A)', 'A, B, T = map(int, input().split())\nprint(B * (T // A))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s496352134', 's819107808', 's997377462']
[3316.0, 2940.0, 2940.0]
[19.0, 17.0, 18.0]
[61, 53, 55]
p03059
u551692187
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) if A<=T else print(0)', 'A,B,T = map(int, input().split())\nprint(B*(T//A)) if A<=T else print(0)']
['Wrong Answer', 'Accepted']
['s518280332', 's588946191']
[2940.0, 2940.0]
[17.0, 17.0]
[69, 71]
p03059
u554784585
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.
["using System;\nusing System.Runtime.InteropServices;\n\nnamespace ConsoleApp2\n{\n class Program\n {\n static void Main(string[] args)\n {\n int a, b, t;\n string[] str =Console.ReadLine().Split(' ');\n a = int.Parse(str[0]);\n b = int.Parse(str[1]);\n ...
['Runtime Error', 'Accepted']
['s376684644', 's636582492']
[9012.0, 9116.0]
[21.0, 29.0]
[400, 48]
p03059
u556028974
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())\ncount=0\n\ncount=(T+0.5)//A\nprint(count*B)', 'import math\n\nA,B,T=map(int,input().split())\ncount=0\n\ncount=(T+0.5)//A\nprint(math.floor(count*B))']
['Wrong Answer', 'Accepted']
['s341939426', 's735828627']
[2940.0, 2940.0]
[17.0, 18.0]
[71, 96]
p03059
u556225812
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(int((A%(C+0.5))*B))\n', 'A,B,C=map(int,input().split())\nprint(((C+0.5)%A)*B)', 'A, B, T = map(int,input().split())\nprint((T//A)*B)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s420131261', 's569662395', 's624561335']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[57, 51, 50]
p03059
u556371693
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(((10*t+5)//10*a)*b)\n', 'a,b,t= map(int, input().split())\ns=(10*t+5)//a\nprint(sb)', 'a,b,t= map(int, input().split())\ns=(10*t+5)//10*a\nprint(s*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', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s189185795', 's435081861', 's511625365', 's825863784', 's039166710']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0, 18.0]
[59, 56, 60, 54, 46]
p03059
u556589653
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((T//A)*B)']
['Wrong Answer', 'Accepted']
['s093806644', 's695394516']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 49]
p03059
u556594202
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(input().split())\nprint(T//A*B)\n', 'A,B,T = map(int,input().split())\nprint(T//A*B)\n']
['Runtime Error', 'Accepted']
['s266582098', 's135405134']
[9056.0, 9004.0]
[24.0, 28.0]
[43, 47]
p03059
u558452954
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(inputs):\n number=inputs[2]//inputs[0]*inputs[1]\n return number\n\nx=list(map(int,input().split()))\n\nbiscuit(x)', 'A,B,T=map(int,input().split())\nprint("{}".format(T//A*B))']
['Wrong Answer', 'Accepted']
['s028202574', 's869897510']
[2940.0, 2940.0]
[17.0, 17.0]
[122, 57]
p03059
u558764629
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,intput().split())\n\nprint(T//A*B)', 'A,B,T = map(int,input().split())\n\nprint(T//A*B)']
['Runtime Error', 'Accepted']
['s825395987', 's129935778']
[2940.0, 2940.0]
[18.0, 17.0]
[48, 47]
p03059
u560867850
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(c) for c in input().split()]\n\nt = t + 0.5\n\nans = 0\ntime = a\nwhile time <= t:\n print(a)\n ans += b\n time += a\n\nprint(ans)', 'a, b, t = [int(c) for c in input().split()]\n\nprint(t // a * b)\n']
['Wrong Answer', 'Accepted']
['s838966950', 's230157122']
[2940.0, 2940.0]
[18.0, 17.0]
[143, 63]
p03059
u560988566
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)\nans = 0\n\nc = int(t / a)\n\nans = a*c\nprint(ans)', 'a, b, t = input().split()\na = int(a)\nb = int(b)\nt = int(t)\nans = 0\n\nc = t // a\n\nans = b*c\nprint(ans)']
['Wrong Answer', 'Accepted']
['s502419411', 's313392283']
[3060.0, 2940.0]
[17.0, 17.0]
[104, 100]
p03059
u561691391
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(A))\nB = int(input(B))\nT = int(input(T))\n\ncount = (T + 0.5) // A\nbiscuit = B * count\nprint(biscuit)\n', 'count = (T + 0.5) // A\nbiscuit = B * count\nprint(biscuit)', 'A, B, T = map(int, input().split())\n\ncount = (T + 0.5) // A\nbsc = B * count\n\nprint(bsc)', 'A = int(A)\nB = int(B)\nT = int(T)\...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s187035710', 's272063998', 's466313002', 's765475521', 's893754859']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0]
[113, 57, 87, 92, 80]
p03059
u561862393
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\nhmb = b * (a // t)\nprint(hmb)', 'n = int(input())\nin_num = input().split()\nlis_num = [int(s) for s in in_num]\nm = max(lis_num)\n\nx = [lis_num[i] % m for i in range(n)]\nsx = max(x.remove(max(x)))\nm2 = max(lis_num.remove(m))\ny = [lis_num[i] % m2 for i in range(n)]\nsy = ma...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s439196582', 's703011370', 's824164671']
[3064.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[66, 496, 67]
p03059
u565692645
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())\n\ncount = 0\nx = int((T+0.5)/A)\nfor i in range(1,x+1):\n count += B\n\nprint(count)', 'A, B, T = (int(i) for i in input().split())\n\ncount = 0\nfor i in range(0, int(T/A)):\n count += B\n\nprint(count)']
['Runtime Error', 'Accepted']
['s758573137', 's546507045']
[3060.0, 2940.0]
[17.0, 17.0]
[132, 112]
p03059
u566483072
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 = (t + 0.5) // a\nprint(x*b)', 'a,b,t = map(int,input().split())\nx = int((t+0.5) // a)\nprint(x*b)']
['Wrong Answer', 'Accepted']
['s870818477', 's191518354']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 65]
p03059
u566935164
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 a,b,t = map(int, input.split(" "))\n \n total=0\n \n for i in range(1,20):\n if a*i > t:\n break\n else:\n total += b\n \n print(total)\n \n \n ', 'a,b,t = map(int, input().split(" "))\n\ntotal=int(t/a)*b\n\nprint(total)\n']
['Runtime Error', 'Accepted']
['s152861475', 's360690942']
[2940.0, 2940.0]
[17.0, 17.0]
[159, 69]
p03059
u572343785
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\n\nif t>=a:\n print(b*t//a)\nelse:\n print(0)', 'a,b,t=map(int,input().split())\n\n\nif t>=b:\n print(b*t//a)\nelse:\n print(0)\n', 'a,b,t=map(int,input().split())\n\nprint(int(((t+0.5)//a)*b))\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s449725712', 's507916878', 's618937331']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[78, 79, 59]
p03059
u574053975
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=list(map(int,input().split()))\nb=0\nc=1\nwhile(c*a[0]<(a[2]+0.5)):\n b=b+a[1]\n \nprint(b)', 'a=list(map(int,input().split()))\nb=0\nc=1\nwhile(c*a[0]<(a[2]+0.5)):\n b=b+a[1]\n c=c+1\n \nprint(b)']
['Time Limit Exceeded', 'Accepted']
['s903971678', 's982910236']
[2940.0, 2940.0]
[2103.0, 18.0]
[89, 97]
p03059
u575750790
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.
['num =int(input())\nvalue = list(map(int, input().split()))\nvalue.sort()\npoint = 0\nfor i in range (0, value[0]):\n cnt = 0\n for j in range(0, num):\n if value[j]%(value[0]-i)!=0:\n cnt += 1\n point = j\n if cnt == 1 or cnt == 0:\n break\nprint(value[0] - i)', 'num =int(input())\nvalue = list(map...
['Runtime Error', 'Runtime Error', 'Accepted']
['s304765610', 's670255677', 's410704732']
[3060.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0]
[267, 267, 159]
p03059
u576432509
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 gcdf(a):\n a.sort()\n a0=a[0]\n a=[int(x%a0) for x in a if x%a0 != 0]\n# print("a2:",a)\n if len(a)==0:\n return a0\n else:\n a.append(a0)\n a0=min(a)\n return gcdf(a) \n\n#n=8\n#a=[746130, 1385670, 4849845, 881790, 3233230, 1939938, 570570, 510510]\n#ans=[19]\n#n=2\n...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s277194632', 's316980522', 's390387377', 's711877849', 's765736137', 's327377234']
[3064.0, 3192.0, 3064.0, 3192.0, 3192.0, 3060.0]
[18.0, 18.0, 18.0, 18.0, 18.0, 18.0]
[1293, 1936, 1394, 1936, 2264, 97]
p03059
u577138895
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())\na = T // A\ntotal = 0\n\nif i in range(a):\n total += B\n \nprint(total)', 'A, B, T = map(int, input().split())\na = T // A\ntotal = 0\n\nfor i in range(a):\n total += B\n \nprint(total)']
['Runtime Error', 'Accepted']
['s508429351', 's943779952']
[2940.0, 2940.0]
[17.0, 17.0]
[104, 105]
p03059
u577927591
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(A/T)*B)', 'A,B,T = map(int, input().split())\n \nprint(int(T/A)*B)']
['Wrong Answer', 'Accepted']
['s743127406', 's164454873']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 54]
p03059
u580236524
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.
['i = list(map(int, input().split()))\n\n\n\nans = i[1]*((i[2]+0.5)//(i[0]))\nprint(ans)', 'i = list(map(int, input().split()))\n\n\n\nans = int(i[1]*((i[2]+0.5)//(i[0])))\nprint(ans)']
['Wrong Answer', 'Accepted']
['s588534336', 's725407999']
[2940.0, 2940.0]
[17.0, 17.0]
[173, 176]
p03059
u580404776
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']
['s271369553', 's288805773']
[3060.0, 3064.0]
[18.0, 17.0]
[51, 56]
p03059
u581187895
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\na, b, t = map(int, sys.stdin.readline().split())\ntotal = 0\nfor i in range(1,t+1,1):\n if a < i:\n total += 1\nprint(total) ', 'import sys\na, b, t = map(int, sys.stdin.readline().split())\ntotal = 0\nfor i in range(1,t+1,1):\n if a <= i:\n total += 1\nprint(total) ', 'A, B, T = map(int, in...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s351204549', 's660709415', 's910254471']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[138, 139, 106]
p03059
u588633699
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']
['s436951816', 's847062948']
[2940.0, 2940.0]
[17.0, 17.0]
[50, 51]
p03059
u589268546
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((t//a)*b)', '[a,b,t] = map(int,input().split(" "))\nprint((t//a)*b)']
['Runtime Error', 'Accepted']
['s776913323', 's184663054']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 53]
p03059
u589431621
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\nimport math\nN = int(input())\nA = list(map(int,input().split()))\nL_A = [0]*(N+1)\nR_A = [0]*(N+1)\nfor i in range(N):\n L_A[1+i] = math.gcd(L_A[i], A[i])\nfor i in reversed(range(N)):\n R_A[i] = math.gcd(R_A[i+1], A[i])\nprint(max(math.gcd(L_A[i], R_A[i+1]) for i in range(N)))', 'A,...
['Runtime Error', 'Accepted']
['s232139598', 's497160644']
[5472.0, 2940.0]
[50.0, 18.0]
[302, 49]
p03059
u589668184
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(x, y):\n while (y != 0):\n x, y = y, x%y\n return (x)\n\nn = int(input())\na = list(map(int, input().split()))\n\nresult = 1000000000\na[0] = a[1]\n\nfor i in range(1):\n for j in range(i+1,n):\n if(a[i]>result):\n a[i]=result\n if(a[i] >= a[j]):\n result = ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s183604046', 's210958539', 's989142260', 's618995854']
[3064.0, 3064.0, 3064.0, 3064.0]
[18.0, 17.0, 17.0, 17.0]
[439, 439, 477, 105]
p03059
u591764610
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.
['l = [int(i) for i in input().split()]\nprint((l[2] + 0.5) // l[0] * l[1])', 'l = [int(i) for i in input().split()]\nprint((l[3] + 0.5) // l[0] * l[1])', 'l = [int(i) for i in input().split()]\nprint(int((l[2] + 0.5) // l[0] * l[1]))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s319662745', 's411827443', 's324414616']
[3060.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[72, 72, 77]
p03059
u592248346
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())\nc += 0.5\nprint(c//a*b)', 'a,b,c = map(int,input().split())\nc+=0.5\nprint(c//a*b)', 'a,b,c = map(int,input().split())\nprint(c//a*b)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s399416115', 's458606697', 's747222845']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[55, 53, 46]
p03059
u598952997
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 = input().split( )\nprint(int(T/A)*B)', 'A, B, T = input().split()\nprint((T/A)*B)', 'A, B, T = (int(x) for x in input().split())\nprint(int(T/A)*B)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s207873661', 's423663208', 's479098986', 's603064904']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[43, 44, 40, 61]
p03059
u600195339
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#from fractions import gcd\nimport fractions\nfrom functools import reduce\n\nn = int(input())\nnums = [int(i) for i in input().split()]\n\ndef gcd(nums):\n# return reduce(math.gcd, nums)\n return reduce(fractions.gcd, nums)\n\ngcdOrg = gcd(nums)\ngcdMax = gcdOrg\n\nfor i in range(n):\n tempLis...
['Runtime Error', 'Accepted']
['s488701187', 's685239284']
[5204.0, 2940.0]
[42.0, 17.0]
[479, 66]
p03059
u601191415
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,b,t):\n sec = a\n biscket = 0\n time = t\n\n while sec < time + 0.5:\n biscket += b\n sec += a\n print(biscket)', 'def biscuit_generator(a,b,t):\n sec = a\n biscket = 0\n time = t\n\n while sec < time + 0.5:\n biscket += b\n sec += a\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s204578765', 's670678029', 's408064197']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[156, 156, 59]
p03059
u602677143
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 gcd\nimport functools\n\nn = int(input())\na = input().split()\n\ni = 0\nlist = []\nwhile i < n:\n list.append(int(a[i]))\n i += 1\n \ngc = functools.reduce(gcd, list)\nprint(gc)', 'from fractions import gcd\nimport functools\n\nn = int(input())\na = input().split()\n\ni = 0\nlist = []\nwhile i < n:\n...
['Runtime Error', 'Runtime Error', 'Accepted']
['s862395890', 's945847105', 's377369333']
[2940.0, 5048.0, 2940.0]
[17.0, 36.0, 17.0]
[181, 196, 108]
p03059
u603324902
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()\n\ninteger = int(0)\nv = input().split()\n\nc = input().split()\n\nfor i in range(n):\n if int(v[i])>int(c[i]):\n integer += int(v[i])-int(c[i])\n continue\nprint(integer)\n', 'A, B, T = map(int,input().split())\n\ni = T//A\nprint(B*i)']
['Runtime Error', 'Accepted']
['s943447218', 's152954970']
[2940.0, 2940.0]
[17.0, 17.0]
[192, 55]
p03059
u603661230
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()\nt = t + 0.5\no = 0\n\nwhile t > 0:\n\tt = t - a\n o = o + b\n\nprint(o)', 'a, b, t = map(int, input().split())\nn = int((t + 0.5) // a)\nprint(n * b)']
['Runtime Error', 'Accepted']
['s450851748', 's714913597']
[2940.0, 2940.0]
[17.0, 17.0]
[92, 72]
p03059
u606090886
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)', 'from math import floor\na,b,t = map(int,input().split())\nans = (t + 0.5)//a * b\nprint(floor(ans))']
['Wrong Answer', 'Accepted']
['s918689270', 's936438889']
[2940.0, 2940.0]
[18.0, 17.0]
[56, 96]
p03059
u606878291
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(B * T // A)\n", "A, B, T = map(int, input().split(' '))\n\nprint(T // A * B)\n"]
['Wrong Answer', 'Accepted']
['s104727678', 's614056509']
[2940.0, 2940.0]
[17.0, 17.0]
[58, 58]
p03059
u607075479
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(((T+0.5)//A)*B)', 'A, B, T = map(int, input().split())\nprint(int((T + 0.5) // A) * B)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s411679927', 's514162978', 's051555167']
[9112.0, 9088.0, 9128.0]
[26.0, 29.0, 28.0]
[50, 52, 66]
p03059
u608088992
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+0.5) //A))\n', 'import sys\nfrom collections import defaultdict\n\ndef solve():\n input = sys.stdin.readline\n A, B, T = map(int, input().split())\n time = A\n count = 0\n while time < T + 0.5:\n count += B\n time += A\n print(count)\n\...
['Wrong Answer', 'Accepted']
['s426139814', 's772832732']
[2940.0, 3316.0]
[17.0, 21.0]
[60, 292]
p03059
u609910434
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 main(A, B, T):\n print(B*(T//A))\n return ', 'def main():\n A, B, T = map(int, input().split(" "))\n print(B*(T//A))\n', 'def main():\n A, B, T = map(int, input().split())\n print(B*(T//A))\n', 'def main(A, B, T):\n print(B*(T//A))\n return B*(T//A)', 'def main(A, B, T):\n return A*(T//B)', 'de...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s006854318', 's065559957', 's155135726', 's270518480', 's293271271', 's484220731', 's636803752', 's653092396', 's963295832', 's577939617']
[2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 19.0, 17.0, 17.0, 17.0, 18.0]
[50, 71, 68, 58, 38, 64, 38, 50, 45, 133]
p03059
u609968450
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(t//a*b)']
['Wrong Answer', 'Accepted']
['s499511891', 's683976956']
[2940.0, 2940.0]
[18.0, 17.0]
[60, 47]
p03059
u616246675
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\nA, B, T = map(int, input().split())\n\nprint((T + 0.5) // A * B)', 'from functools import reduce\nA, B, T = map(int, input().split())\nprint(int((T + 0.5) // A * B))']
['Wrong Answer', 'Accepted']
['s459507119', 's353716833']
[3572.0, 3572.0]
[23.0, 22.0]
[91, 95]
p03059
u617640347
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 -*-\nfrom functools import reduce\nimport fractions\n\n\ndef gcd(*numbers):\n return reduce(fractions.gcd, numbers)\n\n\nn = int(input())\nlst = list(map(int, input().split()))\nmin_v = min(lst)\n\nmax_gcd = 0\nfor i in range(n):\n arr = lst[:i] + lst[i + 1:len(lst)]\n if min_v < max_gcd:\n ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s636978033', 's685002331', 's955752898', 's961136547', 's301276960']
[5124.0, 5380.0, 5124.0, 5124.0, 3060.0]
[37.0, 40.0, 35.0, 36.0, 17.0]
[396, 386, 396, 400, 297]
p03059
u619785253
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\nimport itertools\nn = int(input())\nx = list(map(int,input().split()))\np = list(itertools.combinations(x,2))\nar = []\nfor n in range(0,len(p)):\n\tar.append(fractions.gcd(p[n][0],p[n][1]))\nprint(max(ar))', 'n = list(map(int,input().split()))\nprint(int((n[2]+0.5)/n[0])*n[1])']
['Runtime Error', 'Accepted']
['s349495953', 's314613470']
[5048.0, 2940.0]
[35.0, 17.0]
[215, 67]
p03059
u624613992
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((b*(t+0.5))//a)', 'a,b,t = map(int,input().split())\n\nprint((t//a)*b)']
['Wrong Answer', 'Accepted']
['s644364653', 's094514375']
[9148.0, 8956.0]
[28.0, 27.0]
[55, 49]
p03059
u624617831
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\nprint(str(B * ((T+0.5) // A) ))\n', 'A, B, T = list(map(int, input().split()))\n\nprint(str(int(B * ((T+0.5) // A) )))\n']
['Wrong Answer', 'Accepted']
['s661882068', 's933602037']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 80]
p03059
u625811641
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 = T - A\nans = n*(n+1)/2\nprint(ans)', 'A,B,T = map(int,input().split())\nn = T - A\nans = n*(n+1)*B /2\nprint(ans)', 'A,B,T = map(int,input().split())\nT += 0.5\nans = int((T//A)*B )\n\nprint(ans)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s338234426', 's888373075', 's442267841']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[70, 73, 74]
p03059
u626337957
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\nif T < A:\n print(0)\nelse:\n print(B*T//A)\n', 'A, B, T = map(int, input().split())\n\nif T <= A:\n print(0)\nelse:\n print(B*T//A)', 'A, B, T = map(int, input().split())\n\nif T < A:\n print(0)\nelse:\n print(B*(T//A))\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s007878349', 's090498359', 's888270157']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[80, 80, 82]
p03059
u627417051
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 getlist():\n\treturn list(map(int, input().split()))\n\nA, B, T = getlist()\nprint(B * (int(A // (T + 0.5))))', 'def getlist():\n\treturn list(map(int, input().split()))\n\nA, B, T = getlist()\nprint(B * (int((T + 0.5) // A)))']
['Wrong Answer', 'Accepted']
['s005665410', 's035617897']
[2940.0, 2940.0]
[17.0, 17.0]
[108, 108]
p03059
u628581330
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 a < b:\n a, b = b, a\n while b != 0:\n temp = a % b\n a = b\n b = temp\n return a\ndef blackbord(n,a):\n return max(list(hcf(a[i],j) for i in range(len(a)) for j in a[0:i] + a[i + 1:]))\nn = int(input())\na=list(map(int, input().split()))\nprint(blackbord(n,...
['Runtime Error', 'Accepted']
['s096654344', 's855849379']
[3064.0, 2940.0]
[18.0, 18.0]
[309, 143]
p03059
u628583308
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.
['#!/usr/bin/env python3\nimport sys\nimport math\nimport random\n\n\n\ndef gcd(x, y):\n if y == 0:\n return x\n else:\n return gcd(y, x % y) \n\ndef solve(N, A):\n left = [A[0]]\n right = [A[N-1]]\n for i in range(1, N):\n left.append(gcd(left[i-1], A[i]))\n for i,j in zip(range(...
['Runtime Error', 'Accepted']
['s380236349', 's166561818']
[3444.0, 3064.0]
[21.0, 17.0]
[1224, 692]
p03059
u629540524
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(t// a * b)']
['Wrong Answer', 'Accepted']
['s128588744', 's926117353']
[2940.0, 2940.0]
[17.0, 17.0]
[61, 52]
p03059
u630004940
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())\nd=T%A\nN=(T-d)/A\nprint(B*N)', 'A,B,T=map(int,input().split())\nN=T//A\nprint(B*N)']
['Wrong Answer', 'Accepted']
['s134252662', 's719902643']
[2940.0, 2940.0]
[18.0, 17.0]
[57, 48]
p03059
u633355062
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))\n\n']
['Wrong Answer', 'Accepted']
['s993083167', 's106927043']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 82]
p03059
u635252313
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(float,input().split())\nprint(b*(t//a))', 'a,b,t=map(int,input().split())\nprint(b*(t//a))']
['Wrong Answer', 'Accepted']
['s698409939', 's090416617']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 46]
p03059
u637381381
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(((0.5+T)//A)*B)', 'A,B,T = map(int,input().split())\nprint(int((0.5+T)//A)*B)']
['Wrong Answer', 'Accepted']
['s781993652', 's686400421']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 57]
p03059
u637593381
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())\nli = list(map(int, input().split()))\nlil = [0]*n\nlir = [0]*n\nfor k in range(n):\n if k == 0:\n lil[k] = li[0]\n lir[k] = li[-1]\n else:\n lil[k] = gcd(lil[k-1], li[k])\n lir[k] = gcd(lir[k-1], li[-k-1])\n \nlir = lir[::-1]\ntmp = max(gcd(lil[j-1], lir[j...
['Runtime Error', 'Accepted']
['s553356812', 's154314535']
[5048.0, 2940.0]
[35.0, 17.0]
[365, 57]
p03059
u639104973
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())\nvs=list(map(int, input().split()))\ncs=list(map(int, input().split()))\ns=[v-c for v,c in zip(vs,cs) if v-c>0]\nprint(sum(s))', 'A,B,T=map(int, input().split())\nprint((T//A)*B)']
['Runtime Error', 'Accepted']
['s145114781', 's770630092']
[3060.0, 2940.0]
[17.0, 17.0]
[137, 47]
p03059
u640319601
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//A*B)\n']
['Wrong Answer', 'Accepted']
['s264957603', 's456851658']
[2940.0, 2940.0]
[17.0, 17.0]
[57, 51]
p03059
u641722141
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().split()\ns= int(a[2]) // int(a[0)\nprint(s* int(a[1])\n', 'a = map(int,input().split())\ns= a[2] //a[0]\nprint(s*a[1])', 'a,b,c= input().split()\ns= int(c) // int(a)\nprint(s* int(b))\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s287592896', 's958703157', 's773488358']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[64, 57, 60]
p03059
u642418876
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)\n', 'A,B,T=map(int,input().split())\nimport math\nX=math.floor((T+0.5)/A)\nprint(X*B)\n']
['Wrong Answer', 'Accepted']
['s010171448', 's692466977']
[3060.0, 2940.0]
[20.0, 17.0]
[53, 78]
p03059
u646110634
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.
['time = T + 0.5\nbisckets = (time // A) * B\n\nprint(bisckets)', 'str = input().split()\nA = int(str[0])\nB = int(str[1])\nT = int(str[2])\n\ntime = T + 0.5\nbiscuits = (time // A) * B\n\nprint(int(biscuits))']
['Runtime Error', 'Accepted']
['s934889103', 's692730064']
[2940.0, 3060.0]
[17.0, 19.0]
[60, 136]
p03059
u647522078
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(t//a * b)']
['Wrong Answer', 'Accepted']
['s152626858', 's670469418']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 49]
p03059
u647767910
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 = (t + 0.5) // a\nprint(b * n)', 'a, b, t = map(int, input().split())\nn = (t + 0.5) // a\nprint(int(n * b))']
['Wrong Answer', 'Accepted']
['s756355553', 's660918063']
[2940.0, 2940.0]
[17.0, 17.0]
[67, 72]
p03059
u649202997
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)', 'n = int(input())\na_list = [int(i) for i in input().split()]\nminus_count_even_flug = True\nzero_exist_flug = False\n \nfor a in a_list:\n if a < 0:\n minus_count_even_flug = not minus_count_even_flug\n if a == 0:\n zero_exist_flug = T...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s110862247', 's111216621', 's668998209', 's536972444']
[2940.0, 3064.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0, 17.0]
[57, 452, 59, 51]
p03059
u651277159
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(x) for x in input().split(" ")]\ns = 0\nfor i in range(A,T+0.5,A):\n s += B\n \nprint(s)', 'A, B, T = [int(x) for x in input().split(" ")]\ns = 0\ni = A\nwhile i <= T + 0.5:\n s += B\n i += A\n\nprint(s)']
['Runtime Error', 'Accepted']
['s238147193', 's521700194']
[3316.0, 2940.0]
[20.0, 17.0]
[104, 110]
p03059
u652057333
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.
['# B\nn = int(input())\nv = list(map(int, input().split()))\nc = list(map(int, input().split()))\n\nans = 0\nfor i in range(n):\n gain = v[i] - c[i]\n if gain > 0:\n ans += gain\nprint(ans)', '# A\na, b, t = map(int, input().split())\n\ncount = a\nans = 0\nwhile True:\n if count > t + 0.5:\n bre...
['Runtime Error', 'Accepted']
['s844010195', 's850549840']
[3060.0, 3064.0]
[17.0, 17.0]
[191, 147]
p03059
u654536970
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.
['Biscuit_factory_0, Biscuit_factory_1, Biscuit_factory_2 = (int(a)for a in input().split())\n\nProduction_time = Biscuit_factory_0 * 2\n\nif Production_time <= Biscuit_factory_2:\n print(Production_time)\nelse:\n print(Biscuit_factory_2)', 'Biscuit_factory_0, Biscuit_factory_1, Biscuit_factory_2 = (int(a)for a i...
['Wrong Answer', 'Accepted']
['s571045077', 's063554625']
[2940.0, 2940.0]
[17.0, 17.0]
[235, 196]
p03059
u658559310
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(b*(c//a))', 'a,b,c = map(int,input.split())\nprint(b*(c//a))', 'a,b,c = map(int,input().split()\nprint(b*int(c/a))', 'a,b,c = map(int,input.split())\nprint(b*int(c/a))\n', 'a,b,c = map(int,input.split()\nprint(b*(c//a))\n ', 'a,b,c = map(int,input().split())\nprint(b*...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s044987526', 's082549351', 's487042320', 's618342771', 's649389016', 's431193535']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[47, 46, 49, 49, 58, 50]
p03059
u658987783
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//a*b', 'a,b,t=map(int,input().split())\n \nprint(t//a*b)']
['Runtime Error', 'Accepted']
['s459939694', 's327173668']
[2940.0, 2940.0]
[17.0, 17.0]
[44, 46]
p03059
u660501261
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(A, B, T) = (int, input().split())\n\nbiscuit = 0\n\nfor i in range(0, A*10, T*10 + 5):\n biscuit += B\n\nprint(B)\n \n', '\n(A, B, T) = map(int, input().split(" "))\n\nbiscuit = 0\n\nfor i in range(A * 10, T*10 + 5, A * 10):\n biscuit += B\n\nprint(biscuit)\n ']
['Runtime Error', 'Accepted']
['s486107933', 's704894045']
[2940.0, 2940.0]
[20.0, 17.0]
[117, 135]
p03059
u663230781
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 main():\n a, b, t = get_next_ints()\n \n n = t // a\n print(n * b)\n \nif __name__ == '__main__':\n main()\n ", '\ndef get_next_ints(delim=" "):\n return tuple([int(float(x)) for x in input().split(delim)])\n\ndef main():\n a, b, t = get_next_ints()\n \n n = t // a\n print(n * ...
['Runtime Error', 'Accepted']
['s587356249', 's293571630']
[2940.0, 2940.0]
[17.0, 17.0]
[126, 222]
p03059
u668352391
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(lambda x: int(x), input().split())\n\nn = int(t/a)\nprint(n*a)', 'a, b, t = map(lambda x: int(x), input().split())\n\nn = int(t/a)\nprint(n*b)']
['Wrong Answer', 'Accepted']
['s743650462', 's650858522']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 73]
p03059
u668503853
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//a\nif t >= a:print(b*c)\nelse:print(0)', 'a,b,t=map(int,input.split())\nif t >= a:print(b*(t//a))\nelse:print(0)', 'a,b,t=map(int,input.split())\nc = t // a\nif t >= a:print(b*c)\nelse:print(0)', 'n=int(input())\nlistv=[int(x) for x in input().split()]\nlistc=[int(y) for y in inpu...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s044626527', 's117621277', 's284457155', 's550137228', 's552102573', 's940534290', 's260137737']
[2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[72, 68, 74, 198, 67, 68, 47]
p03059
u670180528
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((t//a)*b)', 'a,b,t = map(int,input().split())\nprint((t//a)*b)']
['Runtime Error', 'Accepted']
['s683059216', 's452329342']
[2940.0, 2940.0]
[17.0, 17.0]
[39, 48]
p03059
u671455949
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()))\nsa = sorted(a)\n \nfor i in range(sa[1], 0, -1):\n cnt = 0\n for j in range(n):\n if a[j] % i != 0:\n cnt += 1\n if cnt >= 2:\n break \n if cnt <= 1:\n print(i)\n break', 'a, b, t = map(int, input().split())\nprint((t // a) * b)']
['Runtime Error', 'Accepted']
['s903112589', 's237544786']
[3060.0, 2940.0]
[18.0, 18.0]
[236, 55]
p03059
u672316981
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\nthe_number_of_times = (t + 0.5) // a\nthe_number_of_biscuits = b * the_number_of_times\n\nprint(the_number_of_biscuits)', 'a, b, t = map(int, input().split())\n\nthe_number_of_times = (t + 0.5) // a\nthe_number_of_biscuits = int(b * the_number_of_times)\n\nprint(the_number_of_bi...
['Wrong Answer', 'Accepted']
['s304224540', 's249350484']
[9088.0, 9080.0]
[27.0, 26.0]
[153, 158]
p03059
u672898046
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\nr = (t+0.5)//a\nprint(r*b)', 'a, b, t = map(int, input().split())\n\nr = (t+0.5)//a\nprint(int(r*b))']
['Wrong Answer', 'Accepted']
['s960690658', 's836552634']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 67]
p03059
u672952553
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()))\n\nans = 0\n\n\nfor i in range(N):\n s = V[i] - C[i]\n if s > 0:\n ans += s\n\nprint(ans)\n', 'nums = [int(e) for e in input().split()]\n\na = nums[0]\nb = nums[1]\nt = nums[2]\n\nans = 0\n\nans = ((t + 0.5) // a) ...
['Runtime Error', 'Accepted']
['s782812756', 's345744350']
[2940.0, 3060.0]
[17.0, 17.0]
[222, 130]
p03059
u673559119
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.
['#conding utf-8\nN = int(input())\nA = input().split()\nans = 0\nt = 0\nfor i in range(N):\n A[i] = int(A[i])\nfor i in range(N):\n if A[i] == 0:\n for j in range(N):\n if A[j]<0:\n A[j] = -A[j]\n ans = sum(A)\nfor j in range(N):\n if A[j]<0:\n t +=1\nif t%2 == 0:\n for j in range(N):\n if ...
['Runtime Error', 'Accepted']
['s199215416', 's339499860']
[3064.0, 2940.0]
[19.0, 18.0]
[482, 64]
p03059
u676458682
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.
['0', 'a,b,t=map(int,input().split())\nprint(int((t+0.5)//a*b))']
['Wrong Answer', 'Accepted']
['s747158770', 's854312275']
[2940.0, 3188.0]
[17.0, 18.0]
[1, 55]
p03059
u677121387
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\nans = ((t+0.5)//a)*b\n\nprint(ans)', 'a,b,t = map(int,input().split())\n \nans = int(((t+0.5)//a)*b)\n \nprint(ans)']
['Wrong Answer', 'Accepted']
['s436521109', 's625545416']
[2940.0, 3064.0]
[17.0, 17.0]
[66, 73]
p03059
u677267454
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 -*-\nn = int(input())\na = list(map(int, input().split()))\n\nans = 0\ncount = 0\nfor i in range(n):\n if a[i] < 0:\n a[i] = -a[i]\n count += 1\n ans += a[i]\n\nif count % 2 == 0:\n print(ans)\nelse:\n print(ans - min(a) * 2)\n', '# -*- coding: utf-8 -*-\na, b, t = map(in...
['Runtime Error', 'Accepted']
['s465179355', 's974318321']
[3060.0, 3064.0]
[17.0, 17.0]
[257, 81]
p03059
u677393869
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\nfor i in range(1,21):\n S=i*A\n if T<S:\n \n print((i-1)*B)\n exit()\n if T>=S:\n print(S)', 'A,B,T=map(int,input().split())\n\nfor i in range(1,10000):\n S=i*A\n if T<S:\n \n print((i-1)*B)\n exit()\n\n']
['Wrong Answer', 'Accepted']
['s389973588', 's385039012']
[2940.0, 2940.0]
[17.0, 17.0]
[130, 111]
p03059
u680004123
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())\ntime = int(t/a)\nprint(time*b)']
['Wrong Answer', 'Accepted']
['s150922214', 's134945465']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 65]
p03059
u680442866
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)\n']
['Wrong Answer', 'Accepted']
['s016541651', 's538914553']
[3316.0, 2940.0]
[21.0, 17.0]
[45, 47]
p03059
u682408064
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 heapq\n\n# input\nN = int(input())\nA = [int(x) for x in input().split()]\n\n\ndef gcd(x, y):\n if y == 0:\n return x\n else:\n return gcd(y, x % y)\n\nCD = []\nfor i in A[1:]:\n if A[0] >= i:\n CD.append(gcd(A[0], i))\n else:\n CD.append(gcd(i, A[0]))\n\n\nprint(max(hea...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s060682856', 's349132912', 's466614997', 's573168121', 's994214519', 's071193868']
[3064.0, 3064.0, 3060.0, 3064.0, 3064.0, 3060.0]
[19.0, 18.0, 18.0, 18.0, 17.0, 18.0]
[334, 664, 445, 347, 876, 319]