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 | u329731898 | 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())\nprint(int(B*((T+0.5)/A)))', 'A,B,T=map(int,input().split())\nprint(B*(T+0.5)/A)', 'A,B,T=(int(x) for x in input().split())\nprint(int(B*(T+0.5)/A))', 'A,B,T=(int(x) for x in input().split())\nprint(int(B*int(((T+0.5)/A))))'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s311004285', 's614348516', 's932410709', 's371500977'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [65, 49, 63, 70] |
p03059 | u331128419 | 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 copy\n\ntmp = 0\nMax = 1\n\nN = int(input())\n\nA_list = [int(i) for i in input().split()]\ntmp_list = A_list\n\ndef operation(a,b):\n while a%b != 0:\n complete = a%b\n a = b\n b = complete\n return b\n\nfor i in range(N):\n \n tmp_list = copy.copy(A_list)\n del tmp_list[i]... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s578996859', 's850901553', 's444989691'] | [3444.0, 3444.0, 2940.0] | [22.0, 24.0, 17.0] | [574, 574, 64] |
p03059 | u331464808 | 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,input().split())\nans = b*(t+0.5)//a\nprint(ans)\n', 'a,b,t = map(int,input().split())\nans = b*(t+0.5)//a\nprint(int(ans))', 'a,b,t = map(input,input().split())\nans = (t+0.5)*b/a\nprint(ans)', 'a,b,t = map(int,input().split())\nans = b*(t+0.5)//a\nprint(ans)\n', 'a,b,t = map(int,input().split())\n... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s162656722', 's415004057', 's650115678', 's682909653', 's043878243'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0, 17.0] | [65, 67, 63, 63, 48] |
p03059 | u334260611 | 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 = input().split(' ')\nA = int(A)\nB = int(B)\nT = int(T)\nprint(int(T / A) * B)"] | ['Runtime Error', 'Accepted'] | ['s931521175', 's582761895'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 83] |
p03059 | u338225045 | 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'] | ['s708747861', 's148448660'] | [2940.0, 2940.0] | [17.0, 17.0] | [49, 53] |
p03059 | u344030307 | 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/a)\nprint(n*b)', 'a,b,t = map(int, input().split())\nn = int(t/a)\nprint(n*b)'] | ['Runtime Error', 'Accepted'] | ['s752294296', 's632640098'] | [8928.0, 9100.0] | [26.0, 29.0] | [57, 57] |
p03059 | u345483150 | 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'] | ['s646338060', 's294047145'] | [3064.0, 2940.0] | [18.0, 17.0] | [48, 49] |
p03059 | u346629192 | 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 = list(map(int,input().split()))\nA = a[0]\nB = a[1]\nT = a[2]\n(T+0.5)//A*B', 'A,B,T=map(int,input().split())\nprint((T+0.5)//A*B)', 'a = list(map(int,input().split()))\nA = a[0]\nB = a[1]\nT = a[2]\nprint((T+0.5)//A*B)', 'A,B,T=map(int,input().split())... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s114641974', 's184627659', 's250525167', 's351268057', 's613612084', 's694039573', 's917118871', 's007588168'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [56, 74, 50, 81, 43, 76, 76, 62] |
p03059 | u347031769 | 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. | ['print((T//A)*B)', 'A, B, T = map(int, raw_input().split())\nprint(int( (T+0.5)/A)*B)', 'return (T//A)*B', 'A, B, T = map(int, raw_input().split())\nprint(((T+0.5)//A)*B)', 'print((T//A)*B)', 'A, B, T = map(int, input().split())\nprint(int( (T+0.5)/A)*B)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s328372238', 's340842906', 's584908830', 's685551687', 's952322084', 's318481734'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 17.0, 17.0] | [15, 64, 15, 61, 15, 60] |
p03059 | u349384236 | 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(a,t,a):\n cnt=cnt+1\nprint(cnt)', 'a,b,t=map(int,input().split())\ncnt=0\nc=a\nwhile a<=t :\n cnt+=b\n a+=c\n\nprint(cnt)'] | ['Wrong Answer', 'Accepted'] | ['s340203971', 's541139323'] | [9152.0, 9064.0] | [24.0, 29.0] | [82, 81] |
p03059 | u349836672 | 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 N = int(input())\n A = list(map(int, input().split()))\n\n if N == 2:\n print(max(A[0]+A[1], (-A[0])+(-A[1])))\n return\n\n a_sum, a1, a2 = 0, A[0], A[1]\n b_sum, b1, b2 = 0, -A[0], -A[1]\n\n for i in range(2, N):\n\n if (a_sum + a1 + a2 + A[i]) > (b_sum + b1 + b2 ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s518361470', 's582791820', 's957787499'] | [3064.0, 5048.0, 2940.0] | [17.0, 35.0, 17.0] | [901, 793, 55] |
p03059 | u350093546 | 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(((2t+1)//2a)*b)\n', 'a,b,t=map(int,input().split())\nprint(((2t+1)//(2*a))*b)\n', 'a,b,t=map(int,input().split())\nprint(((2t+1)//2*a)*b)\n', 'a,b,t=map(int,input().split())\nprint(((t+0.5)//a)*b)', 'a,b,t=map(int,input().split())\nprint(t//a*b)\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s184965777', 's193207596', 's909501136', 's986149957', 's614624236'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 23.0] | [53, 56, 54, 52, 45] |
p03059 | u350357722 | 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 while True:\n bigger=max(a,b)\n smaller=min(a,b)\n mod=bigger%smaller\n if mod==0:\n return smaller\n else:\n return gcd(smaller, mod)\n\nn = int(input())\na = list(map(int, input().split()))\nansers=[]\nnon_remove=a[0]\nansers.append(a[1])\... | ['Runtime Error', 'Accepted'] | ['s256118087', 's771169638'] | [3064.0, 2940.0] | [18.0, 17.0] | [463, 49] |
p03059 | u350578302 | 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\na, b, t = (int(i) for i in input().split()) \n\nprint(t //(a*3)* b)', 'a, b, t = (int(i) for i in input().split()) \nprint(int(t/(a*3))* b)', 'import numpy as np\n\nN = int(input())\nA = [int(i) for i in input().split()] \nAcnt = 0\nfor i in range(N):\n\tif A[i] < 0:\n\t\tAcnt += 1\nres = np.s... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s097761462', 's214342982', 's487727473', 's795307450', 's862574092'] | [12504.0, 2940.0, 12444.0, 2940.0, 2940.0] | [149.0, 17.0, 150.0, 17.0, 17.0] | [86, 68, 187, 63, 64] |
p03059 | u350697094 | 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\nB_max = 0\nfor i in range(20):\n if T > i*A:\n B_max += B\n else:\n break\n\nprint(B_max)\n ', 'A, B, T= map(int, input().split())\nT = T + 0.5\nB_max = 0\nfor i in range(1,21):\n if T > i*A:\n B_max += B\n else:\n break\n \nprint(B_max)'] | ['Wrong Answer', 'Accepted'] | ['s633513192', 's299778266'] | [2940.0, 2940.0] | [17.0, 17.0] | [142, 140] |
p03059 | u354567428 | 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 while b != 0:\n a,b=b,a%b\n return a\n\nn=int(input())\na=[0] + list(map(int,input().split())) + [0]\n\nl=[0]*(n+2)\nr=[0]*(n+2)\nfor i in range(1,n+1):\n l[i] = gcd(l[i-1],a[i])\nfor i in range(n,0,-1):\n r[i] = gcd(r[i+1],a[i])\n\nz=[gcd(l[i-1],r[i+1]) for i in range(1,n+1)]\n\npr... | ['Runtime Error', 'Accepted'] | ['s253569884', 's624103669'] | [3064.0, 2940.0] | [17.0, 17.0] | [364, 49] |
p03059 | u358254559 | 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*(a//t))', 'a,b,t = map(int, input().split())\nprint(b*(t//a))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s274322872', 's894340591', 's437076416'] | [2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0] | [47, 49, 49] |
p03059 | u358791207 | 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 functools\nimport math\nN = int(input())\nA = [int(i) for i in input().split()]\nnum = 1\nfor i in range(len(A)):\n B = A[:i] + A[i+1:]\n g = functools.reduce(math.gcd, B)\n if g > num:\n num = g \nprint(num)\n', 'import functools\nimport fractions\n\nN = int(input())\nA = [int(i) for i in input().spl... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s300675988', 's908901293', 's279625351'] | [3572.0, 5124.0, 2940.0] | [23.0, 35.0, 17.0] | [215, 266, 60] |
p03059 | u358957649 | 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\nA, B, T = map(int, input().split())\n\nprint(int(math.floor(T / A) + B))', 'import math\nA, B, T = map(int, input().split())\n\nprint(int(math.floor(T / A) * B))'] | ['Wrong Answer', 'Accepted'] | ['s405736470', 's670297346'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 82] |
p03059 | u360613784 | 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. | ['k = (int(t) + 0.5) // int(a)\ni = int(k) * int(b)\nprint(i)\n', 'a,b,t = (int(i) for i in input().split())\nprint(t//a*b)'] | ['Runtime Error', 'Accepted'] | ['s704161256', 's092659694'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 55] |
p03059 | u363207161 | 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\nfrom functools import reduce\nimport random\nimport copy\n\ndef gcd(numbers):\n return reduce(fractions.gcd, numbers)\n\nn = int(input())\na = list(map(int, input().split()))\nans = 1\n\nif n < 100:\n for i in range(n):\n b = copy.copy(a)\n b.pop(i)\n t = gcd(b)\n if ans < t:\n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s214235058', 's310075951', 's781323734'] | [6108.0, 6108.0, 2940.0] | [52.0, 53.0, 17.0] | [412, 413, 67] |
p03059 | u364439209 | 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 copy\n\ndef gcd(a, b):\n while b != 0:\n a, b = b, a%b\n return a\n\ndef gcd_list(numbers):\n g = numbers[0]\n for m in numbers:\n g = gcd(g, m)\n return g\n\nN = int(input())\nA = list(map(int, input().split(" ")))\n\ngcds = list()\nfor a in A:\n B = copy.deepcopy(A)\n B.rem... | ['Runtime Error', 'Accepted'] | ['s396608966', 's276319789'] | [3444.0, 3064.0] | [22.0, 17.0] | [361, 275] |
p03059 | u365928729 | 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# Your code here!\na,b,t=map(int,input().split(" "))\nt+=0.5\nans=0\nif(t>a):\n ans=(t-t%a)/a*b\nprint(ans)', '# coding: utf-8\n# Your code here!\na,b,t=map(int,input().split(" "))\nt+=0.5\nans=0\nif(t>a):\n ans=(t-t%a)/a*b\nprint(round(ans))'] | ['Wrong Answer', 'Accepted'] | ['s072993315', 's555040736'] | [2940.0, 2940.0] | [18.0, 18.0] | [120, 127] |
p03059 | u366677622 | 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 copy\nimport functools\nimport math\n\nN = int(input())\nA = sorted(list(map(int,input().split())))\n\nC = []\nfor k in range(N):\n B = copy.copy(A)\n del B[k]\n C.append(functools.reduce(math.gcd, B))\n\nprint(max(C))', 'A, B, T = map(int,input().split())\n\nans = T // A * B\n\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s022190559', 's080734565'] | [3700.0, 2940.0] | [24.0, 17.0] | [221, 64] |
p03059 | u367130284 | 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 collections import*\ndef dv(n):\n divisors = []\n for i in range(1, int(n**0.5)+1):\n if n % i == 0:\n divisors.append(i)\n if i != n // i:\n divisors.append(n//i)\n \n \n return Counter(divisors)\n \nn,*a=map(int,open(0).read().split())\nans=Counter()\nfor... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s609079270', 's977997703', 's223058894'] | [3316.0, 5180.0, 2940.0] | [20.0, 38.0, 17.0] | [440, 198, 50] |
p03059 | u368016155 | 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\ni = 1\ncount = 0\nwhile A*i <= (T+0.5):\n count += i * T\n \nprint(count)', 'A,B,T = map(int, input().split())\n\ni = 1\ncount = 0\nwhile A*i <= (T+0.5):\n count += i * B\n i += 1\n \nprint(count)', 'A,B,T = map(int, input().split())\n\ni = 1\ncount = 0\nwhile A*i <= (T+0.5):... | ['Time Limit Exceeded', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s363197458', 's485161522', 's665233945', 's177302067'] | [2940.0, 2940.0, 3316.0, 2940.0] | [2108.0, 18.0, 21.0, 17.0] | [105, 114, 114, 110] |
p03059 | u370576244 | 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())\nr = b * int(t/a)\nprint(r)', 'a,b,t=map(int,input ().split())\nr=b*(t/a)\nprint(r)\n', 'a,b,t = map(int,input().split())\nr = b * int(t/a)\nprint(r)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s640656248', 's863764525', 's878318523'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [54, 51, 58] |
p03059 | u371467115 | 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 *\nn = int(input())\na = [0]+list(map(int, input().split()))+[0]\nb = [0]*(n+2)\nc = [0]*(n+2)\nfor i in range(1, n+1):\n\tb[i] = gcd(b[i-1], a[i])\nfor i in range(n, 0, -1):\n\tc[i] = gcd(c[i+1], a[i])\nprint(max(gcd(b[i-1], c[i+1]) for i in range(1, n+1)))\n#sample answer.', 'a,b,t=map(int,inp... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s431827408', 's959885185', 's661542487'] | [5044.0, 2940.0, 2940.0] | [36.0, 17.0, 17.0] | [285, 44, 45] |
p03059 | u371530330 | 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())\n\nprint(int((t+0.5)/a*b))', 'a,b,t = map(int, input())\n \nprint(t//a*b)', 'a,b,t = map(int, input().split())\n \nprint((t//a)*b)'] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s262215051', 's455064770', 's552931516', 's850004341'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [59, 50, 41, 51] |
p03059 | u374146618 | 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()]\nsum = b*(t+0.5)//a\nprint(sum)', 'a, b, t = [int(x) for x in input().split()]\nsum = int(b*((t+0.5)//a))\nprint(sum)'] | ['Wrong Answer', 'Accepted'] | ['s576840787', 's936878975'] | [2940.0, 2940.0] | [17.0, 17.0] | [73, 80] |
p03059 | u374802266 | 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()))\na=i[2]+0.5\nb=a//i[0]\nprint(b*i[1])', 'i=list(map(int,input().split()))\na=i[2]+0.5\nb=a//i[0]\nc=b*i[1]\nprint(c)', 'i=list(map(int,input().split()))\na=i[2]+0.5\nb=a//i[0]\nc=b*i[1]\nd=int(c)\nprint(d)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s096415615', 's097800079', 's628452342'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [67, 71, 80] |
p03059 | u375282392 | 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*((t+0.5)//b))', 'a,b,t = map(int,input().split())\n \nprint(int(b*((t+0.5)//a)))'] | ['Wrong Answer', 'Accepted'] | ['s754063290', 's683719285'] | [2940.0, 2940.0] | [17.0, 18.0] | [55, 61] |
p03059 | u379136995 | 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)\n', 'a,b,c=map(int,input().split())\nprint(c//a*b)'] | ['Wrong Answer', 'Accepted'] | ['s299982954', 's903716315'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 44] |
p03059 | u380914158 | 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())\n\nprint(B*(T//A))\n', 'N=int(input())\n\nV=list(map(int,input().split()))\nC=list(map(int,input().split()))\n\nans=0\nfor i in range(N):\n\tif(V[i]-C[i]>0):\n\t\tans+=V[i]-C[i]\nprint(ans)\n', 'A,B,T=map(int,input().split())\n\nprint(B*(T//A))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s225470549', 's841005871', 's269601963'] | [2940.0, 2940.0, 2940.0] | [17.0, 19.0, 55.0] | [40, 154, 48] |
p03059 | u382431597 | 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 = list(map(int, input().split()))\nprint(b*(c//a))', 'import sys\na,b,t = list(map(int, input().split()))\nprint(b*(t//a))'] | ['Runtime Error', 'Accepted'] | ['s308712009', 's418084213'] | [2940.0, 2940.0] | [18.0, 17.0] | [66, 66] |
p03059 | u385244248 | 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. | ['print(int(((T+0.5)//A)*B))', '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))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s005862076', 's045723904', 's172025044'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0] | [26, 57, 60] |
p03059 | u386249594 | 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()))\n\n\nfor i in range(max(A),1,-1):\n l = list(map(lambda x: x % i,A))\n if l.count(0) >= len(A)-1:\n print(i)\n break\n', 'from functools import reduce\nimport math\n\nN = int(input())\nA = list(map(int,input().split()))\n\ngcd = []\n\nfor i in r... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s302586350', 's440368445', 's562870097', 's680275564'] | [2940.0, 3572.0, 2940.0, 2940.0] | [18.0, 23.0, 17.0, 17.0] | [182, 227, 287, 50] |
p03059 | u391277538 | 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 copy import copy\ndef gcd(a, b):\n\tif a%b == 0:\n\t\treturn b\n\telse:\n\t\treturn gcd(b, a%b)\n\nn = int(input())\na = list(map(int, input().split()))\n\nif n==2:\n\tprint(max(a))\n\tquit()\n\ngcds = []\n\n\nfor i in range(n):\n\ttemp = copy(a)\n\ttemp.pop(i)\n\n\tnum1 = temp[0] \n\tnum2 = temp[1] \n\tresult =... | ['Runtime Error', 'Accepted'] | ['s184198922', 's869167998'] | [3444.0, 2940.0] | [24.0, 17.0] | [527, 61] |
p03059 | u394376682 | 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())\nV = list(input().split(" "))\nC = list(input().split(" "))\nresult = 0\n\nfor i in range(num):\n Vi = int(V[i])\n Ci = int(C[i])\n if Vi <= Ci:\n continue\n result += (Vi - Ci )\n\nprint(result)\n', 'A,B,T = map(int,input().split(" "))\n\nnum = int(T/A)\n\nprint(num*B)\n'] | ['Runtime Error', 'Accepted'] | ['s786863865', 's072392220'] | [3060.0, 2940.0] | [17.0, 17.0] | [222, 66] |
p03059 | u398910192 | 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\n# C - GCD on Blackboard\n\n\n\n\n\n\n\n\n# if a == b:\n# return a\n# else:\n\n\n\ndef gcd(x, y):\n while x != y:\n x, y = (x-y,y) if x>y else (y-x,x)\n return x\n \n\n\ndef calc(n, an):\n if n == 2:\n return gcd(an[0], an[1])\n else:\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s210477502', 's302787718', 's313314943', 's455596639', 's177356608'] | [3064.0, 3064.0, 3064.0, 3060.0, 2940.0] | [18.0, 17.0, 18.0, 17.0, 17.0] | [1069, 729, 916, 325, 246] |
p03059 | u401487574 | 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()))\npal =1\nminabs = 10**9\nfor i in range(n):\n if a[i] <0:\n pal *=-1\n a[i] = -1*a[i]\n minabs = min(minabs,a[i])\nif pal ==1:\n print(sum(a))\nelse:\n print(sum(a)-2*minabs)\n', 'a,b,t = map(int,input().split())\ns = t//a\nprint(b*s)\n'] | ['Runtime Error', 'Accepted'] | ['s261160998', 's394897471'] | [3060.0, 2940.0] | [18.0, 18.0] | [242, 53] |
p03059 | u405353249 | 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. | ['\ndef problem():\n A, B, T = map(int, input().split())\n algorithm(A, B, T)\n\n\ndef algorithm(A: int, B: int, T: int):\n x = int((T + 0.5) / A)\n return x*B\n\nproblem()', '\n\ndef problem():\n A, B, T = map(int, input().split())\n print(algorithm(A, B, T))\n\n\ndef algorithm(A: int, B: int, T: int... | ['Wrong Answer', 'Accepted'] | ['s148313763', 's447403613'] | [2940.0, 2940.0] | [17.0, 17.0] | [172, 182] |
p03059 | u405618126 | 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\n', 'a, b, t = map(int, input().split())\n\nprint((t // a) * b)\n\n'] | ['Wrong Answer', 'Accepted'] | ['s426287524', 's692874218'] | [2940.0, 2940.0] | [17.0, 17.0] | [64, 58] |
p03059 | u408375121 | 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))\n'] | ['Wrong Answer', 'Accepted'] | ['s125521657', 's312514712'] | [2940.0, 2940.0] | [18.0, 17.0] | [63, 56] |
p03059 | u414173288 | 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'] | ['s356270288', 's073759558'] | [2940.0, 3060.0] | [17.0, 20.0] | [52, 57] |
p03059 | u414558682 | 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. | ['print(0)', '# coding: utf-8\n# Your code here!\n\nA, B, T = map(int, input().split())\n\n# print(A)\n\n# print(T)\n\nprint(int(T / A) * B)'] | ['Wrong Answer', 'Accepted'] | ['s259116040', 's236878498'] | [2940.0, 2940.0] | [17.0, 18.0] | [8, 127] |
p03059 | u415325136 | 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())\nint sum = 0\nint t = 0\nwhile(t <= T):\n if t%A == 0:\n sum += B\n t += 1\nprint(sum)\n', 'A, B, T = map(int, input().split())\nint sum = 0\nint t = 0\nwhile(t < T+0.5):\n if t%A == 0:\n sum += B\n t += 1\nprint(sum)', 'A, B, T = map(int, input().split())\ncnt = T // A\n... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s238104184', 's281426455', 's189075985'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [121, 123, 74] |
p03059 | u415905784 | 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())\nprint((T // A) * B)', 'A, B, T = map(int, input().split())\nprint((T // A) * B)\n'] | ['Runtime Error', 'Accepted'] | ['s904478919', 's533934050'] | [2940.0, 2940.0] | [18.0, 17.0] | [47, 56] |
p03059 | u419963262 | 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()))\n\nsouwa = 0\ncnt = 0\nkeep = 1e10\n\nfor i in range(N):\n if A[i] < 0:\n cnt += 1\n A[i] *= (-1)\n\n souwa += A[i]\n keep = min(keep, A[i])\n\nprint(souwa - 2 * keep * (cnt % 2))\n', 'A,B,T=map(int,input().split())\ni=0\nwhile A*i<=T:\n ... | ['Runtime Error', 'Accepted'] | ['s288516767', 's539669592'] | [9124.0, 2940.0] | [26.0, 17.0] | [242, 73] |
p03059 | u426649993 | 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 -*-\nimport fractions\nimport copy\nfrom functools import reduce\n\ndef gcd_list(numbers):\n return reduce(fractions.gcd, numbers)\n\nN = int(input())\nA = list(map(int, str(input()).split()))\n\ngcds = list()\nfor i in range(0,N):\n B = copy.deepcopy(A)\n B.pop(i)\n tmp = gcd_list(B)\... | ['Runtime Error', 'Accepted'] | ['s935690126', 's217071154'] | [5304.0, 2940.0] | [39.0, 17.0] | [342, 85] |
p03059 | u430223993 | 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 biscuit_gen(A,B,T):\n total = 0\n num = int(T//A)\n return B*num\n\nprint(biscuit_gen(A,B,t))', 'A, B, T = map(int, input().split())\n\ndef biscuit_gen(A,B,T):\n total = 0\n num = int(T//A)\n return B*num\n\nn = biscuit_gen(A,B,T)\nprint(n)'] | ['Runtime Error', 'Accepted'] | ['s686712837', 's875275058'] | [2940.0, 2940.0] | [17.0, 17.0] | [138, 144] |
p03059 | u432333240 | 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\nimport numpy as np\nimport fractions\nfrom functools import reduce\n\nN = int(input())\nA = np.array(input().split()).astype(int)\n\ndef gcd(numbers):\n return reduce(fractions.gcd, numbers)\nrt = 1\nfor i in range(N):\n ind = np.ones(N, dtype=bool)\n ind[i]=False\n A_tmp = A[ind]\n f... | ['Runtime Error', 'Accepted'] | ['s136889667', 's975422943'] | [22164.0, 2940.0] | [297.0, 17.0] | [357, 51] |
p03059 | u434664398 | 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 = [int(x) for x in input().split(' ')]\n\ns = 0\nmc = 0\nfor i in A:\n if i <= 0:\n mc += 1\n s += abs(i)\n\nif (mc % 2 == 1):\n mv = min(A[0],A[-1])\n #print('mv',mv)\n s -= mv*2\nprint(s)", "A,B,T = [int(x) for x in input().split(' ')]\nprint(int(B * ((T + 0.5) // A)))\n"] | ['Runtime Error', 'Accepted'] | ['s617547094', 's903980315'] | [3060.0, 3060.0] | [17.0, 19.0] | [203, 78] |
p03059 | u435108403 | 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 while b != 0:\n a, b = b, a % b\n return a\n\n\nN = int(input())\nA = list(map(int, input().split()))\nL = [0 for i in range(N)]\nR = [0 for i in range(N)]\nT = [0 for i in range(N)]\n\nfor i in range(N):\n if i == 0:\n L[i] = 0\n else:\n L[i] = gcd(L[i-1], A[i-1])\nf... | ['Runtime Error', 'Accepted'] | ['s683358962', 's922022115'] | [3064.0, 2940.0] | [17.0, 20.0] | [467, 95] |
p03059 | u438189153 | 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+1/2)//a)*b)\n', 'a,b,t=map(int,input().split())\nprint(((t+1/2)//a)*b)\n', 'a,b,t=map(int,input().split())\nprint(((t+1//2)//a)*b)\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s867650388', 's996268638', 's860800015'] | [8984.0, 9040.0, 9088.0] | [25.0, 29.0, 27.0] | [53, 53, 54] |
p03059 | u439392790 | 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)\n', 'A,B,T=map(int,input().split())\nprint(int(((T+0.5)/A)*B))\n', 'A,B,T=map(int,input().split())\nprint(int((T+0.5)/A)*B)\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s045864864', 's547936443', 's209898226'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [55, 57, 55] |
p03059 | u442948527 | 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\nprint(b*n*(n+1)//2)', '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'] | ['s142463301', 's534951213', 's326268541'] | [9176.0, 9016.0, 9052.0] | [31.0, 28.0, 28.0] | [57, 44, 46] |
p03059 | u443307749 | 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\ncount = t / a\n\nanswer = b * count\n\nprint(answer)', 'a, b, t =[int(i) for i in input().split()]\n\ncount = t / a\n\nanswer = b * count\n\nprint(round(answer))', 'a, b, t =[int(i) for i in input().split()]\ncount = t / a\nanswer = b * count\nprint(answer)', 'a, b, t =[int(i) fo... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s293937737', 's372338352', 's440076546', 's719159345', 's956376502', 's036048211'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [84, 99, 89, 96, 198, 75] |
p03059 | u444732068 | 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()))\nprint((T/A)*B)', '\n\nA,B,T = list(map(int,input().split()))\nprint(int(T/A)*B)'] | ['Wrong Answer', 'Accepted'] | ['s293671293', 's171889751'] | [2940.0, 2940.0] | [17.0, 17.0] | [53, 58] |
p03059 | u444856278 | 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. | ['[print(a//t*b)for a,b,t in[[int(i)for i in input().split()]]', '[print(int((t+0.5)//a)*b)for a,b,t in[[int(i)for i in input().split()]]]'] | ['Runtime Error', 'Accepted'] | ['s395592427', 's122663453'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 72] |
p03059 | u446711904 | 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(b*(c//a))', 'a,b,t=map(int,input().split());print(b*(t//a))'] | ['Runtime Error', 'Accepted'] | ['s873594795', 's654408183'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 46] |
p03059 | u450147945 | 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'] | ['s360397678', 's255352427'] | [3060.0, 2940.0] | [18.0, 17.0] | [58, 63] |
p03059 | u450904670 | 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()))\nprint(a * int((t + 0.5) / b))', 'a,b,t = list(map(int, input().split()))\nprint(b * int((t + 0.5) / a))'] | ['Wrong Answer', 'Accepted'] | ['s536213615', 's564112918'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 69] |
p03059 | u450983668 | 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(int(b*((t+0.5)//a)))'] | ['Wrong Answer', 'Accepted'] | ['s665293486', 's528584548'] | [2940.0, 2940.0] | [17.0, 17.0] | [57, 62] |
p03059 | u453526259 | 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\nfrom functools import reduce\n\ndef gcd(*numbers):\n return reduce(fractions.gcd, numbers)\n\ndef gcd_list(numbers):\n return reduce(fractions.gcd, numbers)\n\n#in\nn=int(input())\nv=list(map(int, input().split()))\n\nmaxi = 0\n\n\nif len(list(set(v))) == 1:\n maxi = (v[0])\nelif len(v) == ... | ['Runtime Error', 'Accepted'] | ['s992892061', 's378740795'] | [3064.0, 2940.0] | [19.0, 17.0] | [690, 50] |
p03059 | u453634575 | 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().split()¥a, b,t = int(x[0]),int(x[1]),int(x[2])\nt += 0.5\nnum = t//a\nsum = int(num * b)\nprint(num)', 'x = input().split()\na, b,t = int(x[0]),int(x[1]),int(x[2])\nt += 0.5\nnum = t//a\nsum = int(num * b)\nprint(sum)'] | ['Runtime Error', 'Accepted'] | ['s639968622', 's856212590'] | [2940.0, 2940.0] | [17.0, 17.0] | [109, 108] |
p03059 | u456033454 | 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. | ['fq, num, max_time = map(int, input().split())\ntime = 0\n_sum = 0\nwhile 1:\n time += fq\n if(time >= max_time + 0.5):\n break\n else:\n _sum += num\n fq += fq\nprint(_sum)', 'fq, num, max_time = map(int, input().split())\ntime = 0\n_sum = 0\nwhile 1:\n time += fq\n if time >= max_... | ['Wrong Answer', 'Accepted'] | ['s620207617', 's366001726'] | [2940.0, 2940.0] | [17.0, 24.0] | [192, 174] |
p03059 | u459017223 | 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)//B)*A)', 'A, B, T = map(int, input().split())\nprint(((T+0.5)//B)*a)', 'A, B, T = map(int, input().split())\nprint(int(((T+0.5)//A)*B))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s212785701', 's777358093', 's415546525'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [57, 57, 62] |
p03059 | u459697504 | 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. | ["# GCD on Blackboard\n\n\nfrom functools import reduce\n\nN = int(input())\nA = list(map(int, input().split()))\n\n\ndef get_gcd(a, b):\n \n if a < b:\n a, b = b, a\n\n elif a % b == 0:\n return b\n\n return get_gcd(b, a % b)\n\n\ndef get_gcd_l(l):\n \n return reduce(get_gcd, l)\n\n\nde... | ['Runtime Error', 'Accepted'] | ['s403937688', 's624721293'] | [3572.0, 2940.0] | [23.0, 17.0] | [1104, 180] |
p03059 | u459752408 | 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(int((T+0.5)//A)*B)\n'] | ['Wrong Answer', 'Accepted'] | ['s931233739', 's819438940'] | [2940.0, 2940.0] | [17.0, 17.0] | [56, 59] |
p03059 | u460140076 | 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 functools\n\nN = int(input())\nA = list(map(int,input().split()))\n\nans = 1\n\nfor i in range(1,N):\n A_i = A[:i-1] + A[i:]\n ans = max(ans, functools.reduce(fractions.gcd, A_i))\n\nprint(ans)', 'A, B ,T = map(int,input().split())\n\nprint(B * (T // A))\n'] | ['Runtime Error', 'Accepted'] | ['s249162879', 's651023390'] | [5052.0, 2940.0] | [35.0, 17.0] | [212, 56] |
p03059 | u460386402 | 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(b*(t+0.5)//a))', 'a,b,t=map(int,input().split())\nco=(t+0.5)//a\nprint(int(b*co))\n'] | ['Wrong Answer', 'Accepted'] | ['s288862352', 's127224896'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 62] |
p03059 | u461610623 | 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().split()\nprint((T//A)*B)\n', 'int()=A,B,T\nprint((T//A)*B)\n', 'a,b,t=map(int, input().split())\n\nprint(t//a*b)\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s954082346', 's996715459', 's336643561'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [36, 28, 47] |
p03059 | u462329577 | 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())\npritn((c//a)*b)', 'a,b,c=map(int,input().split())\nprint((c//a)*b)'] | ['Runtime Error', 'Accepted'] | ['s444630952', 's755377221'] | [2940.0, 2940.0] | [17.0, 17.0] | [47, 46] |
p03059 | u471212175 | 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 = 0\nwhile (t > b):\n t -= a\n ans += b\nprint(ans)', 'a,b,t = map(int,input().split(" "))\nans = 0\nwhile (t >= a):\n t -= a\n ans += b\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s085459337', 's529539132'] | [2940.0, 2940.0] | [17.0, 17.0] | [94, 94] |
p03059 | u475808877 | 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,c=map(int,input().split())\nprint(b*(t/a))', 'a,b,t=map(int,input().split())\nprint(b*(t//a))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s348839070', 's845843819', 's166715926'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [45, 45, 46] |
p03059 | u476674388 | 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*3)', "import fractions \n ... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s113523660', 's231310696', 's466985849', 's512962857', 's980440640', 's881653546'] | [2940.0, 5052.0, 5052.0, 5052.0, 5052.0, 2940.0] | [17.0, 35.0, 36.0, 37.0, 35.0, 21.0] | [46, 3334, 3334, 3336, 3336, 46] |
p03059 | u481026841 | 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 = map(int,input().split())\nc = map(int,input().split())\ncnt = 0\nfor i in range(n):\n if v[i] > c[i]:\n cnt += (v[i] - c[i])\n else:\n cnt += 0 \nprint(cnt)', 'a,b,t = map(int,input().split())\nn = t // a\nprint(n*b)'] | ['Runtime Error', 'Accepted'] | ['s529682894', 's683744766'] | [3060.0, 2940.0] | [17.0, 18.0] | [192, 54] |
p03059 | u481887916 | 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 copy\nimport fractions\nfrom functools import reduce\n\ndef gcd_list(numbers):\n return reduce(fractions.gcd, numbers)\n \n\na = int(input())\n\nxList = [int(i) for i in input().split()]\nkeisanList = copy.deepcopy(xList)\nsaidai = max(xList)\nsaidaiKoyakuSu = 0\nkoyakuSu = 0\nlistIndex = 0\n\nfor i in ran... | ['Runtime Error', 'Accepted'] | ['s078203977', 's297252097'] | [5100.0, 3060.0] | [36.0, 17.0] | [589, 204] |
p03059 | u483885886 | 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\n number = 0\n for i in range(a):\n b=1\n s = a-b\n if s >0:\n number+=1\n b+=1\nprint(number*B)\n\n ', 'A,B,T=(int,input().split())\na =T//A\n number = 0\n for i in range(a):\n b=1\n s = a-b\n if s >0:\n number+=1\n b+=1\nprint(number*B)\n\n ', 'A,B,T = map(int... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s043780636', 's065996625', 's081313830', 's463976154', 's621099621', 's671273632', 's977564729', 's712030386'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0] | [138, 135, 139, 126, 129, 139, 130, 139] |
p03059 | u483896240 | 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 -*-\na, b, t = map(int, input().split())\n\n\np = (t+0.5)//a\n\nanc = int(p*b)\n\nprint(ans)', '# -*- coding: utf-8 -*-\na, b, t = map(int, input().split())\n\n\np = int((t+0.5)//a)\n\nans = p*b\n\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s058928821', 's905667754'] | [2940.0, 2940.0] | [17.0, 17.0] | [130, 130] |
p03059 | u486448566 | 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())\nprint((t//a)*b)', 'import importlib\nimport_module = lambda name:importlib.import_module(name)\n\ninput = import_module(\'sys\').stdin.readline\ninput_int = lambda:int(input())\ninput_ints = lambda:map(int,input().split())\ninput_ints_list = lambda:list(input_ints())\ninput_str = lambda:input(... | ['Runtime Error', 'Accepted'] | ['s779443900', 's229571864'] | [2940.0, 3448.0] | [17.0, 29.0] | [40, 5158] |
p03059 | u486807944 | 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\nn = T // A\n\nsum = 0\nfor i in range(n):\n sum = sum + B*(n+1)\n \nprint(sum)', 'A, B,T = map(int, input().split())\n\nn = T // A\n\nsum = 0\nfor i in range(n):\n sum = sum + B\n \nprint(sum)'] | ['Wrong Answer', 'Accepted'] | ['s319699714', 's559767127'] | [2940.0, 2940.0] | [17.0, 18.0] | [110, 104] |
p03059 | u487288850 | 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\na,b,t = map(int,input().split())\nb*(t//a)', 'import math\na,b,t = map(int,input().split())\nprint(b*(t//a))'] | ['Wrong Answer', 'Accepted'] | ['s241265534', 's832611233'] | [9144.0, 9148.0] | [25.0, 31.0] | [53, 60] |
p03059 | u488670118 | 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 = 0\n\nfor i in range(0, int(t+0.5), a):\n c += b\n\nprint(c)', 'a, b, t = map(int, input().split()) \nc = 0\nt = int(t+0.5)\n\nwhile t - a >= 0:\n c += b\n t -= a\n\nprint(c)'] | ['Wrong Answer', 'Accepted'] | ['s041226187', 's705577435'] | [2940.0, 2940.0] | [17.0, 19.0] | [97, 108] |
p03059 | u489124637 | 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)', 'import fractions\n \nN = int(input())\nA = list(map(int,input().split()))\nL = [0] * N\nR = [0] * N\n\nfor i in range(1, N):\n L[i] = fractions.gcd(L[i-1], A[i-1])\n R[-i-1] = fractions.gcd(R[-i], A[-i])\n\nans = [0] * N\n\nfor i in... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s015431082', 's565031834', 's625213100'] | [2940.0, 5048.0, 2940.0] | [17.0, 35.0, 17.0] | [74, 294, 81] |
p03059 | u490489966 | 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\nimport math\na, b, t = map(int, input().split())\nprint(math.floor(t / a) * b)\n'] | ['Wrong Answer', 'Accepted'] | ['s570928899', 's162549653'] | [2940.0, 2940.0] | [18.0, 17.0] | [43, 80] |
p03059 | u490623664 | 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())\nc=0\nfor i in range(t+1):\n if i%a==0:\n c+=b\nprint(c)', 'a,b,t=(int(x) for x in input().split())\nc=0\nfor i in range(1,t+1):\n if i%a==0:\n c+=b\nprint(c)'] | ['Wrong Answer', 'Accepted'] | ['s491320407', 's911167599'] | [2940.0, 2940.0] | [17.0, 18.0] | [95, 97] |
p03059 | u490642448 | 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)\n', 'a,b,t=map(int,input().split)\nprint(t//a*b)', 'a,b,t=map(int,input().split())\nprint(t//a*b) '] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s509737368', 's829996559', 's249664882'] | [3064.0, 3064.0, 2940.0] | [18.0, 18.0, 17.0] | [47, 44, 45] |
p03059 | u491762407 | 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())\nk = (t+0.5)//a\nprint(k*b)', 'a,b,t = map(int,input().split())\nk = (t+0.5)//a\nprint(int(k*b))'] | ['Wrong Answer', 'Accepted'] | ['s673064526', 's055470986'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 63] |
p03059 | u498575211 | 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. | ['inputs = list(map(int, inpit().split()))\n\nA = input[0]\nB = input[1]\nT = input[2]\n\nQ = int(T / A)\nprint(Q)\nX = Q* B\nprint(X)\n', 'inputs = list(map(int, input().split()))\n \nA = inputs[0]\nB = inputs[1]\nT = inputs[2]\n \nQ = int(T / A)\n#print(Q)\nX = Q* B\nprint(X)'] | ['Runtime Error', 'Accepted'] | ['s877821310', 's091901152'] | [2940.0, 2940.0] | [17.0, 17.0] | [124, 129] |
p03059 | u506587641 | 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+0.5)//a)*b)', 'a, b, t = map(int, input().split())\n\nprint(t//a*b)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s479355883', 's591717202', 's092298193'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [56, 58, 50] |
p03059 | u507116804 | 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\nm=a//t\n\nprint(int(m*b))', 'a,b,t=map(int,input().split())\n \nm=t//a\n \nprint(int(m*b))\n\n'] | ['Wrong Answer', 'Accepted'] | ['s052167804', 's030965944'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 67] |
p03059 | u507611905 | 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\na = [int(i) for i in input().split()]\n\n\n\n#def euclid(m, n):\n# if n == 0:\n# return m\n# new_m = n\n# new_n = m % n\n\n#\n#def array_euclid(numbers):\n# n = len(numbers)\n\n\n# if n == 2:\n# return numbers[0]\n# \n# numbers.pop()\n# return array_euclid(numbers)\n#\n# n... | ['Runtime Error', 'Accepted'] | ['s361132749', 's674000710'] | [3060.0, 2940.0] | [17.0, 17.0] | [1188, 58] |
p03059 | u508554136 | 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'] | ['s646838330', 's397522161'] | [2940.0, 2940.0] | [17.0, 17.0] | [59, 64] |
p03059 | u517411077 | 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 os\nimport math\nfrom functools import reduce\nfrom fractions import gcd\n\ndef test(x,k,m):\n #print("i=",k)\n tmp=[0]*len(x)\n for j in range(m):\n tmp[j]=x[j]\n #print(\'a=\',x)\n #print(\'tmp=\',tmp)\n del tmp[k]\n #print(\'tmp=\',tmp)\n #print("a==",x)\n XX=gc... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s136104800', 's150084828', 's129380532'] | [5108.0, 5076.0, 2940.0] | [36.0, 36.0, 17.0] | [598, 615, 109] |
p03059 | u517459179 | 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 = (float(i) for i in input().split())\nprint(int((t + 0.5) / a) * b)', 'a, b, t = map(float(input().split()))\nanswer = int((t + 0.5) / a) * b\nprint(answer)', 'a, b, t = (float(i) for i in input().split())\nprint(int(t + 0.5) / a * b)', 'a, b, t = (float(i) for i in input().split())\nprint(int((t + 0.5) / a)... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s000635563', 's057331073', 's074364492', 's171385888', 's279100330', 's326942860', 's328621124', 's498718694', 's569872757', 's596924603', 's630018877', 's689968790', 's737872956', 's894933559', 's966882450', 's969033916', 's144026091'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3068.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 19.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0] | [75, 83, 73, 75, 98, 58, 74, 79, 99, 81, 81, 83, 67, 64, 99, 67, 69] |
p03059 | u518064858 | 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=a\ncnt=0\nwhile T<=t:\n ans+=b\n T+=a\nprint(cnt)\n', 'a,b,t=map(int,input().split())\nT=a\nans=0\nwhile T<t+0.5:\n ans+=b\n T+=a\nprint(ans)\n'] | ['Runtime Error', 'Accepted'] | ['s150339691', 's260110013'] | [2940.0, 2940.0] | [17.0, 17.0] | [84, 87] |
p03059 | u518681194 | 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 return ((t + 0.5) // a) * b', 'a, b, t = (int(i) for i in input().split()) \n\nreturn ((t + 0.5) // a) * b', 'a, b, t = (int(i) for i in input().split()) \n\nprint((t // a) * b)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s268589184', 's819933041', 's168097978'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [61, 73, 65] |
p03059 | u518987899 | 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().strip())\nA = list(map(int, input().strip().split(' ')))\nA = sorted(A)\n\n\ndef divisor(n):\n result = []\n for i in range(1, int(n**0.5)+1):\n if n % i == 0:\n result.append(i)\n if i != n // i:\n result.append(n//i)\n return result\n\n\ndef check(A, d):\n count = 0\n for a ... | ['Runtime Error', 'Accepted'] | ['s409430836', 's028709396'] | [3192.0, 2940.0] | [17.0, 17.0] | [608, 60] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.