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 | u684556734 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\nimport itertools\nimport math\nimport fractions\nfrom functools import reduce\n\ndef gcd(*numbers):\n return reduce(fractions.gcd, numbers)\n\nn = int(input())\nnums = [int(i) for i in input().split()]\ngcds = []\nfor num in nums:\n tmp = nums.copy()\n tmp.remove(num)\n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s412208756', 's465408626', 's896636413'] | [5076.0, 3060.0, 2940.0] | [36.0, 18.0, 17.0] | [342, 340, 60] |
p03059 | u685244071 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\nturn = (t + 0.5) // a\ncount = b * turn\n\nprint(count)\n', 'a, b, t = map(int, input().split())\n\nturn = t // a\ncount = a * turn\n\nprint(count)\n', 'a, b, t = map(int, input().split())\n\nturn = (t + 0.5) // a\ncount = a * turn\n\nprint(count)\n', 'a, b, t = map(int, input()... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s245149151', 's263639051', 's341146461', 's255702392'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [90, 82, 90, 82] |
p03059 | u685662874 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['a,b,t=map(int, input().split())\nsum=0\nfor i in range(1,t+1):\n if i % a == 0:\n sum+=b\nelse:\n sum+=b*0.5\n print(sum)', 'a,b,t=map(int, input().split())\nsum=0\nfor i in range(1,t+1):\n if i % a == 0:\n sum+=b\n print(sum)', 'a,b,t=map(int, input().split())\nsum=0\nfor i in range(1,t+... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s381081803', 's402945224', 's468784557'] | [3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [130, 109, 105] |
p03059 | u687053495 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\nfrom math import gcd\nfrom functools import reduce \n\ndef divider(numbers):\n return reduce(gcd, numbers)\n\nn = int(input())\nA = list(map(int, input().split()))\n\nresult = []\nfor i in range(n):\n numbers = A[:]\n numbers.pop(i)\n result.append(divider(numbers))\nprint(max(result))', 'a, b, t = map(int, i... | ['Runtime Error', 'Accepted'] | ['s796112964', 's192405249'] | [3060.0, 2940.0] | [17.0, 17.0] | [335, 65] |
p03059 | u687929074 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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()\nans = int(T)/int(A)*int(B)\nprint(ans)', 'A, B, T = input().split()\nans = (int(T)-1)/int(A)*int(B)\nprint(ans)\n', 'A, B, T = input().split()\nans = int(T)/int(A)*int(B)\nprint(ans)\n', 'A, B, T = map(int,input().split())\nn = (T+0.5) // A\nprint(int(n*B))'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s361766827', 's446782183', 's553612606', 's948958553'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 18.0] | [55, 68, 64, 67] |
p03059 | u688762199 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 numpy as np\n\n# input\nl = list(map(int, input().split()))\n\nA = l[0] \nB = l[1] \nT = l[2] \n\nt = 0\ncreated = 0\n\nwhile 1:\n t += 1\n\n if t%A == 0:\n print("create t:", t)\n created += B\n\n if t >= T:\n break\n\nprint(created)\n', '# -*- coding: ut... | ['Wrong Answer', 'Accepted'] | ['s006702413', 's344927954'] | [12488.0, 12500.0] | [148.0, 146.0] | [355, 356] |
p03059 | u691018832 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['a, b, t, = map(int, input().split())\nans = 0\nt += 0.5\n\nans += (t / a) * b\nprint(ans)', 'a, b, t, = map(int, input().split())\nans = 0\nt += 0.5\n\nans = int((t // a) * b)\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s928472339', 's799676587'] | [2940.0, 2940.0] | [17.0, 17.0] | [84, 89] |
p03059 | u691896522 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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()\ni = 0\nwhile i * a <= t:\n i += 1\nprint(i * b)', 'a, b, t = list(map(int, input().split()))\ni = 0\nprint(a,b,t)\nwhile (i * a) <= t:\n i += 1\nprint((i - 1) * b)', 'a, b, t = list(map(int, input().split()))\ni = 0\nprint(a,b,t)\nwhile (i * a) <= t:\n i += 1\nprint(i * b)', 'a, b,... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s521895141', 's759290212', 's905192899', 's053374225'] | [3688.0, 2940.0, 2940.0, 2940.0] | [2104.0, 17.0, 17.0, 17.0] | [73, 110, 104, 97] |
p03059 | u692746605 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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:\n a, b = b, a%b\n return a\n\nn=int(input())\nal=input().split()\nal_i = [int(s) for s in al]\n\nif (n == 2):\n print(gcd(al_i[0],al_i[1]))\n return\n\nfg = [0] * n\nbg = [0] * n\n\nfor x in range(n):\n if (x == 0):\n fg[0] = al_i[0]\n y = 1\n else:\n wh... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s555323873', 's793960404', 's559536547'] | [3064.0, 5076.0, 2940.0] | [18.0, 36.0, 17.0] | [710, 309, 64] |
p03059 | u693933222 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 = (t+0.5)//a*b\n\nprint(int(ans))'] | ['Wrong Answer', 'Accepted'] | ['s784131673', 's697673314'] | [2940.0, 2940.0] | [18.0, 17.0] | [64, 69] |
p03059 | u693953100 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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//a\nprint(ans*b)', 'a,b,t = map(int,input().split())\nans = t//a\nprint(ans*b)'] | ['Runtime Error', 'Accepted'] | ['s435323238', 's954913254'] | [2940.0, 2940.0] | [17.0, 17.0] | [57, 56] |
p03059 | u694402282 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['a, b, t = map(int, input().split())\nif a < t:\n print("0")\nelse:\n s = t//a\n print(b*s)', 'a, b, t = map(int, input().split())\nif a > t:\n print("0")\nelse:\n s = t//a\n print(b*s)'] | ['Wrong Answer', 'Accepted'] | ['s439309394', 's563189111'] | [2940.0, 2940.0] | [17.0, 17.0] | [94, 94] |
p03059 | u697713131 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\na = list(map(int,input().split()))\na,b = map(int,input().split())', 'a,b,t = map(int,input().split())\nprint(int(((t+0.5)//a)*b))'] | ['Runtime Error', 'Accepted'] | ['s565441666', 's001422887'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 59] |
p03059 | u700805562 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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'] | ['s071660706', 's156976045'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 60] |
p03059 | u702582248 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(a*(b/c))', 'a,b,c=map(int, input().split())\nprint(a*(c//b))\n', 'a,b,c=map(int, input().split())\nprint(a*(b//c))', 'a,b,c=map(int, input().split())\nprint(b*(c//a))\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s160536792', 's406759865', 's961796746', 's761932577'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 16.0, 17.0, 17.0] | [46, 48, 47, 48] |
p03059 | u703630116 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nt = t + 0.5\n\ntotal = t/a * b\nprint(int(total))\n', 'a, b, t = (int(x) for x in input().split())\nt = t + 0.5\n\ntotal = t//a * b\nprint(int(total))\n'] | ['Wrong Answer', 'Accepted'] | ['s681880612', 's167744615'] | [2940.0, 2940.0] | [17.0, 19.0] | [91, 92] |
p03059 | u703890795 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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'] | ['s192179933', 's221122654'] | [2940.0, 2940.0] | [18.0, 17.0] | [58, 63] |
p03059 | u709799578 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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)20', 'A, B, T = map(int, input().split())\nprint((T//A)*B)'] | ['Runtime Error', 'Accepted'] | ['s819418441', 's026519758'] | [2940.0, 2940.0] | [17.0, 17.0] | [53, 51] |
p03059 | u712082626 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['inputstr1 = input().split()\nn = inputstr1[0]\nk = inputstr1[1]\ns = input()\n\nchars = list(s)\nchars[int(k)-1]=chars[int(k)-1].lower()\ncorrect = "".join(chars)\nprint(correct)', 'a, b, t = map(int,input().split())\ni = 1\nbisket = 0\n\nwhile t+0.5 > i*a:\n bisket += b\n i += 1\n\nprint(bisket)\n'] | ['Runtime Error', 'Accepted'] | ['s027130949', 's885180057'] | [2940.0, 2940.0] | [17.0, 17.0] | [170, 114] |
p03059 | u713492631 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['# coding: utf-8\n\nA, B, T = map(int, input().split())\n\ndef biscuit_generator(a, b, t):\n biscuit = 0\n n = 1\n t -= a\n while (t+0.5) > 0:\n biscuit += b\n n +=1\n\n t -= a * n\n return biscuit\n\nprint(biscuit_generator(A, B, T))\n', 'A, B, T = map(int, input.split())\n\nprint((T+0.5... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s132005072', 's133824265', 's335648318'] | [2940.0, 2940.0, 3064.0] | [17.0, 18.0, 18.0] | [249, 58, 65] |
p03059 | u714300041 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['A, B, T = map(int, input().split())\n\nT += 0.5\nanswer = B * (T // A)\n\nprint(answer)', 'A, B, T = map(int, input().split())\n\nT += 0.5\nanswer = (T // A) * B\n\nprint(answer)\n', 'A, B, T = map(int, input().split())\nprint(int(B * (T//A)))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s195640916', 's872019924', 's568502224'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [82, 84, 58] |
p03059 | u717993780 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 = math.floor(t/a) * b\nprint(ans)', 'n = int(input())\nlist_v = map(int,input().split())\nlist_c = map(int,input().split())\n \nans = 0\nfor i in range(n):\n if list_v[i] - list_c[i] > 0:\n ans += list_v[i] - list_c[i]\nprint(int(ans))', 'a,b,t = map(int,input().split())\nans... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s033590705', 's228800542', 's303087546', 's610614701', 's027837694'] | [2940.0, 3060.0, 3064.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 18.0, 17.0] | [69, 194, 72, 65, 82] |
p03059 | u721407235 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nA=list(map(int,input().split()))\nAsorted = sorted(A)\n\n\nL=[0]*N\nR=[0]*N\nL[0]=A[0]\nR[0]=A[N-1]\n\nfor n in range(1,N):\n L[n]=gcd(A[n],L[n-1])\n R[n]=gcd(A[N-n-1],R[n-1])\n \n ans=max(L[N-2],R[N-2])\n\nfor i in range(1,N-1):\n ans=max(ans,gcd(L[i-1],R[N-i-2]))\n\np... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s371043766', 's787990351', 's905157237', 's963669997', 's475400026'] | [5048.0, 5052.0, 5308.0, 5048.0, 2940.0] | [36.0, 35.0, 39.0, 35.0, 17.0] | [307, 295, 291, 308, 57] |
p03059 | u722779458 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['# _*_ coding: utf-8 _*_\n \nN = int(input())\nvs = [int(e) for e in input().strip().split()]\ncs = [int(e) for e in input().strip().split()]\n \nprofit = 0\nfor i in range(N):\n if vs[i] > cs[i]:\n profit += (vs[i] - cs[i])\n \nprint(profit)', 'import fractions\nN = int(input())\nvalues = ([int(x) for x in ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s179121115', 's190768787', 's237691912', 's305467705', 's332950373', 's554951480', 's922160842', 's986158928', 's175169407'] | [3060.0, 5048.0, 5176.0, 2940.0, 2940.0, 5144.0, 3060.0, 3060.0, 3064.0] | [18.0, 36.0, 36.0, 17.0, 18.0, 36.0, 18.0, 18.0, 18.0] | [240, 703, 795, 230, 113, 336, 246, 228, 120] |
p03059 | u722811088 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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()).split(" ")\nA=n[0]\nB=n[1]\nT=n[2]\n\nbis=int((T+0.5)/A)*B', 'n=input().split(" ")\nA=int(n[0])\nB=int(n[1])\nT=int(n[2])\n \nbis=int((T+0.5)/A)*B\nprint(bis)'] | ['Runtime Error', 'Accepted'] | ['s755349380', 's073941361'] | [2940.0, 3060.0] | [17.0, 19.0] | [68, 90] |
p03059 | u727277646 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 = int(b*(t+0.5)/a)\nprint(ans)', 'a,b,t = map(int,input().split())\nans = b*((t+0.5)/a)\n\nprint(int(ans))', 'a,b,t = map(int,input().split())\nprint(int(t*b/a))', 'a,b,t = map(int,input().split())\nprint(b//a*t)', 'a,b,t = map(int,input().split())\nans = int(b*(t+0.5)/a)\nprint(... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s343395486', 's493392504', 's767496967', 's876108290', 's936526190', 's876121849'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [66, 69, 52, 48, 64, 46] |
p03059 | u729228534 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['C = list(map(int, input().split()))\n\ns = O\nfor i in range(N) :\n if V[i] > C[i]:\n s +=V[i] - C[i]\n \nprint(s)', 'A, B, T = map(int, input().split())\nX = T // A * B\nprint(X)'] | ['Runtime Error', 'Accepted'] | ['s564007076', 's214853789'] | [2940.0, 2940.0] | [17.0, 18.0] | [120, 59] |
p03059 | u729535891 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nT = int(input())\ni = int((T + 0.5)/A)\nbiscuit = A * i\n\nprint(biscuit)', 'A, B, T = int(input().split())\n\ni = int((T + 0.5) // A)\n\nprint(int(B * i))\n\n', 'A = int(input())\n\nB = int(input())\n\nT = int(input())\n\ni = int((T + 0.5) // A)\n\nprint(int(B * i))\n\n\n', 'A, B, T = map(int, inpu... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s132839719', 's235460708', 's348729672', 's369511908'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0] | [86, 76, 99, 79] |
p03059 | u730318873 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nH = (T + 0.5) // A\nprint(B * H)', 'A,B,T = map(int,input().split())\nH = (T + ) // A\nprint(B * H)', 'A,B,T = map(int,input().split())\nH = (T + 0.5) // A\nF = B * H // B * H\nprint(round(B * H))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s158915016', 's572098616', 's176889337'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [64, 61, 90] |
p03059 | u736084649 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\nans = []\nminus_num = 0\n\nfor num in a:\n if num < 0:\n ans.append( num * -1 )\n minus_num += 1\n else:\n ans.append( num )\n\nif minus_num % 2 == 0:\n print(sum(ans))\nelse:\n ans.sort()\n print(sum(ans[1:]) + ans[0] * -1)'... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s372852542', 's717039448', 's906629909', 's811882198'] | [3316.0, 3060.0, 3316.0, 2940.0] | [21.0, 17.0, 20.0, 18.0] | [300, 210, 300, 80] |
p03059 | u738898077 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['vb', 'a,b,t = map(int,input().split())\nprint((t//a)*b)'] | ['Runtime Error', 'Accepted'] | ['s145839872', 's911736649'] | [2940.0, 2940.0] | [17.0, 17.0] | [2, 48] |
p03059 | u739721456 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['\nusing namespace std;\n\nint main()\n{\n int a,b,t;\n\n cin >> a >> b >> t;\n\n cout << t/a*b;\n\n return 0;\n}', 'A, B, T = map(int, input().split())\n\nC = T//A\nAns = B*C\nprint(Ans)\n'] | ['Runtime Error', 'Accepted'] | ['s114669319', 's083500947'] | [2940.0, 8984.0] | [17.0, 24.0] | [131, 67] |
p03059 | u739959951 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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=[]\nwhile a<=t+0.5:\n ans.appen(b)\n a+=a\n \nprint(sum(ans))', 'a,b,t=map(int,input().split())\n\nprint(t//a*b)'] | ['Runtime Error', 'Accepted'] | ['s759847051', 's576723574'] | [2940.0, 2940.0] | [17.0, 17.0] | [96, 45] |
p03059 | u740047492 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(a//t*b)', 'a,b,t=map(int,input().split())\nprint(0 if t>a else t//a*b)', 'a,b,t=map(int,input().split())\nprint(0 if t>a else a//t*b)', 'a,b,t=map(int,input().split())\nprint((a//t)*b)', 'a,b,t=map(int,input().split())\nprint(0 if a>t else int(a/t)*b)', 'a,b,t=map(int,input().spl... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s047237874', 's149226007', 's313553724', 's368044811', 's372819324', 's544776596', 's557515124', 's178307082'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0] | [44, 58, 58, 46, 62, 46, 58, 60] |
p03059 | u740324418 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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,os\n\nf = open('a.txt', 'r')\nsys.stdin = f\n\nli = list(input().split())\n\nA=int(li[0])\nB=int(li[1])\nT=int(li[2])\n\nprint(B*(T/A))", "#import sys,os\n\n#f = open('a.txt', 'r')\n\n\nli = list(input().split())\n\nA=int(li[0])\nB=int(li[1])\nT=int(li[2])\n\nprint(B*(T/A))", 'abt = input()\nabt = list(map... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s379626952', 's959249804', 's397729457'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [135, 138, 115] |
p03059 | u740767776 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(float,input().split()))\nT += 0.5 \nT -= A\nwhile T > 0:\n SUM += B\n T -= A\nprint(int(B))', 'A,B,T = list(map(float,input().split()))\nT += 0.5\nprint(int(T // A * B))\n'] | ['Runtime Error', 'Accepted'] | ['s017769468', 's920811915'] | [2940.0, 2940.0] | [17.0, 17.0] | [104, 73] |
p03059 | u741495664 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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()]\nseki = 1\n\nfor x in range(2,int(1000000000**0.5)+1):\n count = 0\n\n for y in range(N):\n if A[y] % x != 0:\n count += 1\n if count >= 2:\n break\n else:\n seki = x\n\nfor i in range(N):\n count = 0\n i... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s519004647', 's843805495', 's057404017'] | [3064.0, 5052.0, 2940.0] | [17.0, 35.0, 17.0] | [501, 354, 66] |
p03059 | u743848428 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['q = input()\np = q.split()\na = int(p[0])\nb = int(p[1])\nt = int(p[2])\nc = (t+0.5)//a\nprint(c*b)', 'q = input()\np = q.split()\na = int(p[0])\nb = int(p[1])\nt = int(p[2])\nc = (t+0.5)//a\nprint(int(c*b))\n'] | ['Wrong Answer', 'Accepted'] | ['s088415666', 's855356431'] | [3060.0, 2940.0] | [17.0, 17.0] | [93, 99] |
p03059 | u744920373 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\nsys.setrecursionlimit(10**8)\ndef ii(): return int(sys.stdin.readline())\ndef mi(): return map(int, sys.stdin.readline().split())\ndef li(): return list(map(int, sys.stdin.readline().split()))\ndef li2(N): return [list(map(int, sys.stdin.readline().split())) for _ in range(N)]\ndef dp2(ini, i, j): return ... | ['Runtime Error', 'Accepted'] | ['s410852841', 's021846837'] | [3676.0, 9108.0] | [24.0, 32.0] | [2290, 609] |
p03059 | u745554846 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 = [int(i) for i in input().split()]\nd = a // c\nprint(b * d)', 'a, b, c = [int(i) for i in input().split()]\nd = a % c\nprint(b * d)', 'a, b, c = [int(i) for i in input().split()]\n\nc = c + 0.5\n\nd = c // a\n\nprint(b * d)', 'a, b, c = [int(i) for i in input().split()]\n\nc = c + 0.5\n\nd = c // a\n\nprint... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s092302376', 's427282411', 's820086928', 's838367100'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [67, 66, 82, 87] |
p03059 | u747884126 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ["a,b,t = map(int, input().split(' '))\nbis = 0\nfor i in range(a, t+1, a):\n print(i, b)\n bis += b\nprint(bis)", "a,b,t = map(int, input().split(' '))\nbis = 0\nfor i in range(a, t+1, a):\n bis += b\nprint(bis)"] | ['Wrong Answer', 'Accepted'] | ['s139657822', 's904522165'] | [2940.0, 2940.0] | [17.0, 17.0] | [107, 93] |
p03059 | u748311048 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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, float(input()))\nprint(int((T+0.5)//A*B))', 'A,B,T=map(int, float(input()))\nprint((T+0.5)//A*B)', 'A,B,T=(map(float, input().split())) \nprint(int((T+0.5)//A*B))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s760700237', 's847176823', 's596336093'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [55, 50, 61] |
p03059 | u749608932 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['N = int(input())\nV = list(map(int, input().split()))\nC = list(map(int, input().split()))\nans = 0\nfor i in range(N):\n if V[i] > C[i]:\n ans += V[i]-C[i]\nprint(ans)', 'A = int(3)\nB = int(5)\nT = int(7)\nprint(((T+0.5)//A)*B)', 'a,b,t = input().split()\nint(a)\nint(b)\nint(c)\nprint(b*(t//a))', 'a,b,t = map(i... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s020631440', 's203944965', 's293180678', 's379001411', 's858244754', 's971118364', 's098443739'] | [3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 19.0, 18.0] | [165, 54, 60, 55, 60, 72, 47] |
p03059 | u751900801 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 * A)))', 'A, B, T = map(int, input().split())\nprint(int(((T + 0.5)//A * B)))'] | ['Wrong Answer', 'Accepted'] | ['s131645379', 's827932250'] | [3060.0, 2940.0] | [18.0, 17.0] | [66, 66] |
p03059 | u752522099 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nval = 0\ning_total=0\nwhile val <= t + 0.5:\n ing_total += b\n val+=a\n', 'a,b,t = map(int,input().split())\n\nn = (t+0.5)//a\nprint(int(n*b)) \n'] | ['Wrong Answer', 'Accepted'] | ['s106115419', 's113131421'] | [2940.0, 2940.0] | [17.0, 18.0] | [105, 66] |
p03059 | u756375338 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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()))\nX = 0\nfor i in range(N):\n if(V[i]-C[i]>0):\n X += V[i] -C[i]\nprint(X)', 'N = int(input())\nV = list(map(int, input().split()))\nC = list(map(int, input().split()))\nX = 0\nfor i in range(N):\n if(V[i]-C[i] > 0):\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s161753327', 's173395229', 's567275882', 's701583359', 's982927610', 's322962048'] | [2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [158, 175, 106, 116, 170, 69] |
p03059 | u756518877 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(" "))\ncount=0\ntt=0\nwhile tt<=t+0.5:\n count=count+1\n tt=tt+count*a\nprint(b*(count-1))', '# -*- coding: utf-8 -*-\na,b,t=map(int,input().split(" "))\ncount=0\ntt=0\nwhile tt<=t+0.5:\n count=count+1\n tt=tt+a\nprint(b*(count-1))'] | ['Wrong Answer', 'Accepted'] | ['s603132339', 's373901549'] | [2940.0, 3060.0] | [17.0, 17.0] | [138, 132] |
p03059 | u758411830 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(n * B)', "A, B, T = map(int, input().split())\nn = (T+0.5) // A\nprint('{}'.format(n*B))", 'A, B, T = map(int, input().split())\nn = T // A\nprint(n * B)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s223966097', 's320511599', 's300682157'] | [3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [65, 76, 59] |
p03059 | u759360502 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(math.factorial(t//a)*b)', 'a,b,t=(int(x) for x in input().split())\nprint((t//a)*b)'] | ['Runtime Error', 'Accepted'] | ['s095020713', 's731828541'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 55] |
p03059 | u759412327 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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()))\nprint(a[1]*a[2]//a[0])', 'A,B,T = map(int,input().split())\nprint(T//A*B)'] | ['Wrong Answer', 'Accepted'] | ['s653224221', 's483332329'] | [2940.0, 8952.0] | [17.0, 29.0] | [57, 46] |
p03059 | u765815947 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['return ((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((t+0.5)//a*b)', '(T // A) *B', 'a, b, t = map(int, input().split())\nprint(int((t+0.5)//a*b))'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s056043757', 's070874291', 's380530526', 's517035708', 's428991571'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [28, 58, 55, 11, 60] |
p03059 | u765865533 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 = list(map(int, input().split()))\n\n\ndef gcd(a, b):\n while b > 0:\n a, b = b, a%b\n return a\n\nans=[]\n\nfor i in range(3):\n B=A[:]\n del B[i]\n sol=0\n for b in B:\n sol=gcd(sol,b)\n ans.append(sol)\n\n\nprint(max(ans))\n\n', 'N = int(input())\n\nA = list(map(int... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s675647063', 's904053921', 's792974864'] | [3060.0, 3064.0, 2940.0] | [17.0, 17.0, 19.0] | [296, 447, 59] |
p03059 | u769630892 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['import numpy as np\nimport math\n\nN = int(input())\nA = np.array([int(i) for i in (input()).split(" ")])\nminA = np.min(A)\n\nif(minA == np.max(A)):\n print(minA)\nelse:\n check = np.unique(minA // np.arange(1,minA))\n #check = minA // np.arange(1,minA)\n for i in check[::-1]:\n \n \n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s546849089', 's926563076', 's336066677'] | [12444.0, 13544.0, 2940.0] | [149.0, 156.0, 17.0] | [687, 557, 75] |
p03059 | u771406607 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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)'] | ['Runtime Error', 'Accepted'] | ['s059824561', 's138834515'] | [2940.0, 2940.0] | [17.0, 17.0] | [47, 51] |
p03059 | u771532493 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nnum=(c+0.5)//a\nprint(b*num)', 'a,b,c=map(int,input().split())\nnum=(c+0.5)//a\nprint(int(b*num))\n'] | ['Wrong Answer', 'Accepted'] | ['s488795883', 's008087450'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 64] |
p03059 | u774985302 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nprint(round(((T + 0.5) // A) * B))\n\n'] | ['Wrong Answer', 'Accepted'] | ['s710860001', 's227601310'] | [3064.0, 3060.0] | [17.0, 20.0] | [55, 69] |
p03059 | u775421443 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 math import gcd\nfrom functools import reduce\n\nn=int(input());Alist=list(map(int,input().split()))\n\ndef gcd_L(numbers):\n return reduce(gcd, numbers)\n\nM_list = []\nfor i in range(n):\n alist = Alist[:i] + Alist[i+1:]\n M_list.append(gcd_L(alist))\n\nprint(max(M_list))', 'from fractions import gcd\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s004029509', 's648595050', 's736177985', 's342708815'] | [3060.0, 5344.0, 5244.0, 2940.0] | [17.0, 39.0, 38.0, 19.0] | [275, 225, 280, 62] |
p03059 | u776929617 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['\nA,B,T = list(map(int, input().split()))\n\nprint(A//T*B)', '\nA,B,T = list(map(int, input().split()))\n\nprint((A//T)*B)', 'A,B,T = list(map(int, input().split()))\n\nprint((T//A)*B)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s151398287', 's723393030', 's519118244'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 19.0] | [55, 57, 56] |
p03059 | u777394984 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(str(((t+0.5) // a) * b))', 'a,b,c= map(int,input().split())\naaa = (c + 0.5) // a\nprint(aaa * b)', 'a,b,c= map(int,input().split())\naaa = (c + 0.5) // a\nprint(int(aaa * b))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s020480249', 's853180475', 's599296970'] | [3316.0, 3060.0, 2940.0] | [20.0, 19.0, 17.0] | [63, 67, 72] |
p03059 | u777529218 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\ndef GCD(L):\n while(len(L)>1):\n a=min(L)\n M=map(lambda x: x%a, L)\n L=[a]+list(filter(lambda x: x!=0, M))\n return a\n\ncogcd=[ 0 for i in range(N)]\n\nfor i in range(N):\n cogcd[i]=GCD(A[:i]+A[i+1:])\n\nprint(max(cogcd))', 'N=int(input())\nA=list(map(... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s306541712', 's443181898', 's676202235'] | [3064.0, 3064.0, 2940.0] | [18.0, 17.0, 17.0] | [272, 337, 48] |
p03059 | u778700306 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['\na,b,t=map(int,input())\n\nres = 0\nfor k in range(1,10000):\n now = k * a\n if now < t:\n res += b\n\nprint(res) \n\n', '\na,b,t=map(int,input().split())\n\nres = 0\nt = t + 1\nfor k in range(1,10000):\n now = k * a\n if now < t:\n res += b\n\nprint(res)\n'] | ['Runtime Error', 'Accepted'] | ['s670298053', 's496696516'] | [2940.0, 3064.0] | [17.0, 19.0] | [128, 137] |
p03059 | u783175749 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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=int(t+0.5)//a*b\nprint=C', 'a,b,t=map(int,input().split())\nC=int(t+0.5)//a*b\nprint(C)'] | ['Wrong Answer', 'Accepted'] | ['s484010078', 's087446817'] | [2940.0, 2940.0] | [17.0, 17.0] | [56, 57] |
p03059 | u790877102 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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)'] | ['Runtime Error', 'Accepted'] | ['s427680096', 's033941050'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 48] |
p03059 | u790902980 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 sys\nn = int(sys.stdin.readline())\na = list(map(int,sys.stdin.readline().split()))\na2 = a.copy()\nres = []\nfor i in range(0,n):\n a2.pop(i)\n res.append(reduce(fractions.gcd,a2))\n a2 = a.copy()\nprint(max(res))', 'def gcd(a,b):\n if(b==0): \n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s000191705', 's438228977', 's619746509', 's804794537', 's924386710', 's994413533', 's094216716'] | [5048.0, 3064.0, 5048.0, 5048.0, 3064.0, 5048.0, 2940.0] | [36.0, 17.0, 36.0, 36.0, 17.0, 36.0, 17.0] | [267, 366, 315, 350, 265, 351, 48] |
p03059 | u791527495 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['li = list(map(int,input().split()))\nli[0] = A\nli[1] = B\nli[2] = T\nans = int(T / A) * B\nprint(ans)', 'li = list(map(int,input().split()))\nA = li[0]\nB = li[1]\nT = li[2]\nans = int(T / A) * B\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s921604801', 's567138662'] | [2940.0, 2940.0] | [17.0, 17.0] | [97, 97] |
p03059 | u793875993 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 = input().split()\nA_list_i = [int(s, 0) for s in A_list]\nmax_gcd = 1\nmin_gcd = [10000000000, -1]\nfor i in range(N-1):\n for j in range(i+1, N):\n if A_list_i[i] == A_list_i[j]:\n temp = A_list_i[i]\n elif A_list_i[i] > A_list_i[j]:\n temp = A_list_i[... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s400335581', 's636755650', 's728699000', 's304578574'] | [3064.0, 2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [1022, 1162, 1022, 154] |
p03059 | u794652722 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['[a,b,t]=list(map(int,input().split()))\nc=((t+0.5)//a)*b\nprint(c)', '[a,b,t]=list(map(int,input().split()))\nc=(t//a)*b\nprint(c)'] | ['Wrong Answer', 'Accepted'] | ['s261371435', 's161042742'] | [2940.0, 2940.0] | [17.0, 17.0] | [64, 58] |
p03059 | u795323188 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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*((T+0.5)//A)', 'a,b,t = map(int,input().split())\nprint((t//a)*b)\n'] | ['Runtime Error', 'Accepted'] | ['s233774840', 's998322698'] | [2940.0, 2940.0] | [17.0, 18.0] | [14, 49] |
p03059 | u795787594 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['ABC = input().rstrip().split(" ")\nA = int(ABC[0])\nB = int(ABC[1])\nC = int(ABC[2])\ncount = (C+0.5)//A\nprint(count*B)\n', 'ABC = input().rstrip().split(" ")\nA = int(ABC[0])\nB = int(ABC[1])\nC = int(ABC[2])\ncount=A//(C + 0.5)\nprint(count*B)', 'ABC = input().rstrip().split(" ")\nA = int(ABC[0])\nB = int(ABC[1])\... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s291820673', 's959991497', 's825131621'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 24.0] | [116, 115, 121] |
p03059 | u796789068 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 gcd_list(list1):\n ans=list1[0]\n for i in range(len(list1)):\n ans=fractions.gcd(ans,list1[i])\n return ans\nN=int(input())\nA=list(map(int,input().split()))\nn=0\nfor i in range(N):\n b=A[i]\n A.remove(A[i])\n m=gcd_list(A)\n n=max(n,m)\n A.insert(i,b)\nprint(n)'... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s303345644', 's760565369', 's528001155'] | [5048.0, 3064.0, 2940.0] | [35.0, 17.0, 17.0] | [302, 358, 57] |
p03059 | u805403870 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\nfrom functools import reduce\nimport copy\n\nn = int(input())\na = list(map(int,input().split()))\n\nfValueList = []\nlValueList = []\nmaxList = []\n\nif n == 2:\n print(gcd(a[0], a[1]))\nelse:\n fValueList.append(a[0])\n lValueList.append(a[n-1])\n for i in range(1,n-1):\n g = fValu... | ['Runtime Error', 'Accepted'] | ['s337319601', 's998215093'] | [5048.0, 2940.0] | [36.0, 17.0] | [627, 52] |
p03059 | u809457879 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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*(a//t))', 'a,b,t=map(int,input().split())\nprint(b*(t//a))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s830675444', 's966344620', 's993811323'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [56, 46, 46] |
p03059 | u810066979 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 math\n\ni=list(map(int,input().split()))\n\na=i[0]\nb=i[1]\nt=i[2]\n\nans=t/a*b\nprint(int(ans))', 'import sys\nimport math\n\ni=list(map(int,input().split()))\n\na=i[0]\nb=i[1]\nt=i[2]\n\nans=math.floor(t/a)*b\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s826586245', 's032811382'] | [3060.0, 3060.0] | [17.0, 17.0] | [105, 112] |
p03059 | u811132356 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nif t+0.5>a:\n print((int(t/a)*b))\nelse:\n print(0)'] | ['Wrong Answer', 'Accepted'] | ['s069589875', 's089297568'] | [3060.0, 2940.0] | [32.0, 17.0] | [48, 85] |
p03059 | u811436126 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\nprint(ans)\n', 'a, b, t = map(int, input().split())\n\nans = (t + 0.5) // a * b\nprint(int(ans))\n'] | ['Wrong Answer', 'Accepted'] | ['s913097387', 's934436840'] | [2940.0, 2940.0] | [17.0, 17.0] | [73, 78] |
p03059 | u818724291 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\ntime = (t+0.5) // a\nprint(b * time)', 'a, b, t = map(int,input().split())\n \ntime = t // a\n\nprint(time)\nprint(b * time)', 'a, b, t = map(int,input().split())\n \ntime = t // a\n\nprint(b * time)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s352706416', 's562705852', 's704064800'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [71, 80, 68] |
p03059 | u818818531 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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().sprit()\nprint(int(T/A)*B)', 'A, B, T = map(int, input().split())\nprint(int(T/A)*B)'] | ['Runtime Error', 'Accepted'] | ['s528106098', 's786006447'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 53] |
p03059 | u820047642 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nLA=list(map(int,input().split()))\nans=[]\n\ndef gcd(m,n):\n while n:\n m,n=n,m%n\n return m\n\nfrom functools import reduce\ndef multigcd(item):\n return reduce(gcd, item)\n\nfor n in range(N):\n L=LA[:n]+LA[n+1:]\n ans.append(multigcd(L))\n\nprint(max(ans))', 'N=int(input())\nL... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s661331702', 's724487668', 's217279277'] | [3060.0, 3060.0, 2940.0] | [17.0, 18.0, 17.0] | [280, 235, 47] |
p03059 | u820052258 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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()))\nprint((A[2]-A[2]%A[0])/A[0]*A[1])', 'A = list(map(int,input().split()))\nprint(int((A[2]-A[2]%A[0])/A[0]*A[1]))'] | ['Wrong Answer', 'Accepted'] | ['s970463409', 's817061203'] | [2940.0, 2940.0] | [17.0, 18.0] | [68, 73] |
p03059 | u823885866 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 math\nimport itertools\nimport collections\nimport heapq\nimport re\nimport numpy as np\n\nrr = lambda: sys.stdin.readline().rstrip()\nrs = lambda: sys.stdin.buffer.readline().split()\nri = lambda: int(sys.stdin.readline())\nrm = lambda: map(int, sys.stdin.buffer.readline().split())\nrl = lambda: l... | ['Wrong Answer', 'Accepted'] | ['s897200095', 's580576387'] | [26988.0, 9108.0] | [120.0, 28.0] | [437, 94] |
p03059 | u825440127 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 = 0\nfor i in range(0, t+1, a):\n count += i * b\nprint(count)', 'a, b, t = map(int, input().split())\n\ncount = 0\nfor i range(1, t+1, a):\n count += i * b\nprint(count)\n ', 'a, b, t = map(int, input().split())\n \ncount = 0\nfor i range(1, t+1, a):\n count += i... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s062700951', 's189219363', 's276340525', 's963124273'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [106, 103, 103, 106] |
p03059 | u825981710 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\n\ndef main():\n N=int(input())\n num=list(map(int,input().split()))\n gcd=0\n gcd_list_front=[]\n gcd_list_back=[]\n gcd_list_front.append(num[0])\n gcd_list_back.append(num[-1])\n\n for i in range(1,N-1):\n gcd_list_front.append(fractions.gcd(gcd_list_front[i-1],num[... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s251191351', 's258210440', 's443766510', 's567857907', 's974236819', 's268727209'] | [5048.0, 3064.0, 5048.0, 2940.0, 3060.0, 2940.0] | [36.0, 17.0, 36.0, 17.0, 17.0, 17.0] | [660, 317, 659, 131, 656, 63] |
p03059 | u827141374 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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()\n\nprint((T//A)*B)', 'A, B, T = (int(x) for x in input().split())\n \nprint((T//A)*B)'] | ['Runtime Error', 'Accepted'] | ['s103440441', 's709963268'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 61] |
p03059 | u828261239 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 = input().split()\nlist = [int(i) for i in l]\nx = int(list[-1] / list[0])\nnum = list[1] * x', 'l = input().split()\nlist = [int(i) for i in l]\nx = list[-1] / list[0]\nnum = list[1] * x\nprint(num)', 'l = input().split()\nlist = [int(i) for i in l]\nx = int(list[-1] / list[0])\nnum = list[1] * x\nprint(num)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s160158802', 's730688759', 's266661522'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [92, 98, 103] |
p03059 | u830162518 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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*(t//a))', 'a,b,c=map(int,input().split())\nprint(b*(c//a))'] | ['Runtime Error', 'Accepted'] | ['s768028995', 's324543811'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 46] |
p03059 | u830742419 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ["a, b, t = map(int, input().split(' '))\nreturn (t+0.5)//a*b", 'A, B, T = input().split()\nreturn int((int(T)+0.5)//int(A)*int(B))\n', 'A, B, T = input().split()\nreturn int((T+0.5)//A*B)', "a, b, t = map(int, input().split(' '))\n(t+0.5)//a*b\n", "a, b, t = map(int, input().split(' '))\nprint((t+0.5)//a*b)\n", "a, b,... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s087781479', 's252477462', 's318713908', 's850937317', 's949732764', 's264606904'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [58, 66, 50, 52, 59, 64] |
p03059 | u831752983 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A seconds and each subsequent multiple of A seconds after activation. Find the total number of biscuits produced within T + 0.5 seconds after activation. | ['a,b,T=map(int,input().split())\nans=0\nt=0\nwhile t <= T + 0.5:\n ans += 1\n t += a\n \nprint(ans)', 'a,b,T=map(int,input().split())\nans=0\nt=a\nwhile t <= T + 0.5:\n ans += b\n t += a\n \nprint(ans)\n'] | ['Wrong Answer', 'Accepted'] | ['s146023049', 's575378007'] | [2940.0, 2940.0] | [18.0, 17.0] | [94, 95] |
p03059 | u835629653 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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'] | ['s879728331', 's117806075'] | [2940.0, 2940.0] | [17.0, 17.0] | [57, 55] |
p03059 | u839953865 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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)', 'a,b,t=map(int,input().split())\nprint((t/a)*b)', 'a,b,t=map(int,input().split())\nprint(int(t/a)*b)'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s052705147', 's175761190', 's546020736', 's776895128'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [45, 45, 45, 48] |
p03059 | u840807329 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(a,b,t)\nc = 0\ntt = 0\n\nwhile t + 0.5 > tt + a:\n\tc+= b\n\ttt += a\t\n\n\t\nprint(c)', 'import math\nimport functools\n\nn = int(input())\nv = list(map(int, input().split()))\n\nif max(v) % 2 ==0:\n\tb = True\nelse:\n\tb = False\n\t\t\nv.sort()\n\nfor index,_ in enumerate(v)... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s162080854', 's240691605', 's485836569', 's953113943', 's090454593'] | [2940.0, 3572.0, 5140.0, 3572.0, 2940.0] | [17.0, 23.0, 35.0, 23.0, 17.0] | [113, 328, 419, 58, 100] |
p03059 | u842388336 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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'] | ['s524690311', 's037852908'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 60] |
p03059 | u846113428 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\n\nargv = sys.argv\na = int(argv[1])\nb = int(argv[2])\nt = int(argv[3]) + 0.5 - a\n\nr = 0\n\nwhile t > 0:\n r += b\n t -= a\n\nprint(r)\n', 'argv = sys.argv\na = int(input())\n\n\nb = int(input())\n\nt = int(input()) + 0.5 - a\n\nr = 0\n\nwhile t > 0:\n r += b\n t -= a\n\nprint(r)\n', "args =... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s671160008', 's676014136', 's998172494'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [142, 133, 153] |
p03059 | u847033024 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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'] | ['s673122678', 's260969348'] | [9092.0, 9100.0] | [28.0, 30.0] | [61, 53] |
p03059 | u847867174 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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().rstrip().split())\nc = (T + 0.5) // A\nt = c * B\nprint(t)\n ', 'A, B, T = map(int, input().rstrip().split())\nc = (T + 0.5) // A\nt = c * B\nprint(t)\n \n', 'A, B, T = map(int, input().rstrip().split())\nc = (T + 0.5) // A\nt = c * B\nreturn t\n \n', 'A, B, T = map(int, input().rstrip()... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s326315614', 's657299895', 's872786995', 's655374012'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 19.0, 17.0, 17.0] | [85, 86, 86, 91] |
p03059 | u848314946 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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'] | ['s412876872', 's344361805'] | [2940.0, 2940.0] | [18.0, 17.0] | [59, 64] |
p03059 | u848647227 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(" "))\ntime = 0\nbis = 0\nwhile time < t:\n bis += b\n time += a\nprint(bis)', 'a,b,c = map(int,input().split(" "))\nt = 0\ncount = 0\nwhile True:\n t += a\n if t > c:\n print(count)\n exit()\n else:\n count += b\nprint(count)'] | ['Wrong Answer', 'Accepted'] | ['s097463152', 's185894219'] | [2940.0, 2940.0] | [18.0, 17.0] | [102, 166] |
p03059 | u849044810 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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\nres = 0\nfor i in range(N):\n a = V[i] - C[i]\n if a > 0:\n res = res + a\n else:\n pass\n\nprint(res)\n\n', 'input = input().split()\nA = int(input[0])\nB = int(input[1])\nT = int(input[2])\n\nAsn = ((T... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s243952788', 's876237434', 's880962308'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [207, 111, 96] |
p03059 | u849433300 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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 = 1\nfor i in range(20):\n if T > i*A:\n n = n + 1\nprint(B*n)', 'A, B, T = map(int,input().split())\nn = 0\nfor i in range(20):\n if T > i*A:\n n = n + 1\nprint(B*n)\n', 'A, B, T = map(int,input().split())\nprint(B*(T//A))\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s509665933', 's550120040', 's306849647'] | [2940.0, 2940.0, 2940.0] | [17.0, 19.0, 17.0] | [99, 100, 51] |
p03059 | u852524720 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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(s) if s.isdigit() else s for s in input().split()]\nprint(int((T + 0.5 // A) * B))', 'A, B, T = [int(s) if s.isdigit() else s for s in input().split()]\nprint(int(((T + 0.5) // A) * B))'] | ['Wrong Answer', 'Accepted'] | ['s001337982', 's041216745'] | [2940.0, 2940.0] | [17.0, 17.0] | [96, 98] |
p03059 | u854093727 | 2,000 | 1,048,576 | A biscuit making machine produces B biscuits at the following moments: A seconds, 2A seconds, 3A 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())\nfor i in range(0,21):\n if (T+0.5)-A*i < 0:\n print(A*(i-1))\n break\n', 'A,B,T = map(int,input().split())\nprint((T//A)*B)\n'] | ['Wrong Answer', 'Accepted'] | ['s148389491', 's454440523'] | [3060.0, 2940.0] | [19.0, 17.0] | [116, 49] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.