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 |
|---|---|---|---|---|---|---|---|---|---|---|
p03076 | u622523700 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\nlast = 9\nif a % 10 != 0:\n last = a\nelif (b % 10 != 0 and last % 10 > b % 10):\n last = b\nelif (c % 10 != 0 and last % 10 > c % 10):\n last = c\nelif (d % 10 != 0 and last % 10 > d % 10):\n last = d\nelif (e % 10 != 0 a... | ['Wrong Answer', 'Accepted'] | ['s467674311', 's390460483'] | [3064.0, 3064.0] | [17.0, 18.0] | [479, 547] |
p03076 | u625963200 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['inputs=[int(input()) for _ in range(5)]\ninputs.sort()\n\nans=0\nans=1000000000000000\nfor i in range(len(inputs)):\n tmp=0\n for j in range(len(inputs)):\n no=(i+j)%len(inputs)\n if j!=len(inputs)-1:\n tmp+=inputs[no]+(10-inputs[no]%10)\n else:\n tmp+=inputs[no]\n if ans>tmp:\n ans=tmp\nprin... | ['Wrong Answer', 'Accepted'] | ['s095139025', 's318727924'] | [3064.0, 3064.0] | [18.0, 17.0] | [309, 316] |
p03076 | u627234757 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\n\nres = A%10\nres = min(res, B%10)\nres = min(res, C%10)\nres = min(res, D%10)\nres = min(res, E%10)\n\nres = res + A//10 + B//10 + C//10 + D//10 + E//10\nprint(res)', 'A = int(input())\nB = int(input())\nC = int(input())\nD = i... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s600653906', 's735784543', 's910649783'] | [3064.0, 3064.0, 2940.0] | [17.0, 18.0, 17.0] | [242, 252, 191] |
p03076 | u627655207 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import math\n\ndef sub():\n items = [int(input()) for _ in range(5)]\n cum = 0\n for a in items:\n if a % 10 == 0:\n cum = cum + a\n else:\n d = math.ceil(a / 10) * 10\n cum = cum + d\n print(cum)\n\nsub()\n\n', 'def sub():\n items = [int(input()) for _ in... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s226311599', 's968838822', 's965519070'] | [2940.0, 3064.0, 3064.0] | [17.0, 18.0, 18.0] | [253, 571, 577] |
p03076 | u628581330 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['from functools import reduce\ndef dishes(a,b,c,d,e):\n s = [a,b,c,d,e]\n k = list(map(lambda x:(int(x/10)+1)*10 if x%10 != 0 else (int(x/10))*10,s))\n x = [k[i] - s[i] for i in range(len(s))]\n i = x.index(max(x))\n k.remove(k[i])\n k.append(s[i])\n ans = reduce(lambda x,y:x + y,s)\n return an... | ['Wrong Answer', 'Accepted'] | ['s481433094', 's456396518'] | [3572.0, 3572.0] | [23.0, 23.0] | [421, 421] |
p03076 | u629350026 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import math\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nprint((math.ceil(a/10)+math.ceil(b/10)+math.ceil(c/10)+math.ceil(d/10)+math.ceil(e/10))*10)', 'import math\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nprint(math.ceil(a/10)+math.ceil(b/10)... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s189027400', 's758759045', 's635571239'] | [3060.0, 3060.0, 3064.0] | [17.0, 17.0, 18.0] | [178, 173, 406] |
p03076 | u629607744 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['def i():\n\treturn int(input())\ndef i2():\n\treturn map(int,input().split())\ndef s():\n\treturn str(input())\ndef l():\n\treturn list(input())\ndef intl():\n\treturn list(int(k) for k in input().split())\n\na = [str(input()) for _ in range(5)]\n\nn = 9\n\nfor i in range(len(a)):\n\tif int(a[i][-1]) <= n and int(a[i... | ['Runtime Error', 'Accepted'] | ['s998636567', 's488430530'] | [9204.0, 9224.0] | [27.0, 25.0] | [504, 504] |
p03076 | u633355062 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['def tenth(a):\n temp = a\n if temp % 10 == 0:\n return temp\n else:\n temp += 1\n\na = tenth(int(input()))\nb = tenth(int(input()))\nc = tenth(int(input()))\nd = tenth(int(input()))\ne = int(input())\n\nprint(a + b + c + d + e)\n', 'def tenth(int a):\n if a % 10 == 0:\n return a\n else:\n a += 1\n\na... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s107656223', 's233864481', 's371296607', 's517932327', 's568416600', 's684180149'] | [2940.0, 2940.0, 3060.0, 2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [224, 215, 246, 228, 254, 257] |
p03076 | u633548583 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import math\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nf=[a%10,b%10,c%10,d%10,e%10]\nprint(a*math.ceil(a/10)+b*math.ceil(b/10)+c*math.ceil(c/10)+d*math.ceil(d/10)+e*math.ceil(e/10)-(10-min(f)))', 'import math\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s100553600', 's688527252', 's888866065'] | [3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0] | [224, 230, 430] |
p03076 | u634079249 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import sys\nimport os\nimport math\nimport bisect\nimport collections\nimport itertools\nimport heapq\n\nii = lambda: int(sys.stdin.buffer.readline().rstrip())\nil = lambda: list(map(int, sys.stdin.buffer.readline().split()))\nfl = lambda: list(map(float, sys.stdin.buffer.readline().split()))\niln = lambda n: [int(sy... | ['Wrong Answer', 'Accepted'] | ['s618701019', 's742437228'] | [3444.0, 3932.0] | [27.0, 29.0] | [1009, 1208] |
p03076 | u634366750 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['List = list(map(int,[input() for i in range(5)]))\na = lambda x:-(-x//10) * 10\na2 = list(map(a,List)).index(min(list(map(a,List))))\na3 = List.pop(a2)\n\nprint(sum(list(map(a,List)))+a3)\n', 'List = list(map(int,[input() for i in range(5)]))\na = lambda x:-(-x//10) * 10\nb = lambda x:x % 10\n\naa = list(map(b, List)... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s726919591', 's912399473', 's131845326'] | [2940.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0] | [183, 198, 221] |
p03076 | u635958201 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a=input()\nb=input()\nc=input()\nd=input()\ne=input()\nT=[a,b,c,d,e]\nA=list(map(lambda x:x%10,T))\nS=list(map(lambda y:y//10,T))\ncount=0\nB=[]\nfor j in range(5):\n if A[j]!=0:\n count+=1\n B.append(A[j])\nprint(10*(sum(S)+count-1)+min(B))', 'a=int(input())\nb=int(input())\nc=int(input())\nd=int(in... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s540272011', 's714821027', 's858817206'] | [3064.0, 3064.0, 3064.0] | [17.0, 17.0, 18.0] | [244, 270, 268] |
p03076 | u637646387 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A = []\nA.append(int(input()))\nA.append(int(input()))\nA.append(int(input()))\nA.append(int(input()))\nA.append(int(input()))\nA.sort(key=lambda x: x // 10)\nans = A[0] + A[1] // 10 * 10 + A[2] // 10 * 10 + A[3] // 10 * 10 + A[4] // 10 * 10 + 40\nprint(ans)', 'A = []\nA.append(int(input()))\nA.append(int(input()))\... | ['Wrong Answer', 'Accepted'] | ['s618284261', 's892331081'] | [3064.0, 3064.0] | [17.0, 17.0] | [251, 323] |
p03076 | u638902622 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['from sys import stdin\n\ndef ten(x):\n return 10 - x\n\nlst = []\nfor i in range(5):\n a = int(stdin.readline().rstrip())\n lst.append(a)\nminv = 9\nfor x in lst:\n s = str(x)\n tmp = int(s[-1])\n if tmp < minv:\n minv = tmp\n\nsum = 0\n\nfor x in lst:\n s = str(x)\n tmp = int(s[-1])\n ... | ['Wrong Answer', 'Accepted'] | ['s811429992', 's168086760'] | [3064.0, 3064.0] | [17.0, 17.0] | [434, 510] |
p03076 | u640922335 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A=list(int(input()) for _ in range(5))\nB=[]\nC=[]\nfor i in A:\n if i%10!=0:\n B.append(i%10)\n C.append((i//10+1)*10)\n else:\n C.append(i)\nif B==True:\n c=10-min(B)\nelse:\n c=0\nprint(sum(C)-c)', 'A=list(int(input()) for _ in range(5))\nB=[]\nC=[]\nfor i in A:\n if i%10!=0:\n ... | ['Wrong Answer', 'Accepted'] | ['s029424772', 's213720497'] | [3060.0, 3060.0] | [17.0, 17.0] | [218, 219] |
p03076 | u641406334 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [int(input()) for _ in range(5)]\nb = [(10-(i%10)) for i in a]\nc = max(b)\nprint(sum([((j + 9)//10) * 10 for j in a]) - c)', 'a = [int(input()) for _ in range(5)]\nb = [(10-(i%10)%10) for i in a]\nc = max(b)\nprint(sum([((j + 9)//10) * 10 for j in a]) - c)', 'a = [int(input()) for _ in range(5)]\nb = [(10-(i%10)... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s456558477', 's883076931', 's752168714'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [124, 127, 127] |
p03076 | u644516473 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import sys\n\ndishes = map(int, sys.stdin.read().split())\nans = 0\nd = 10\nfor dish in dishes:\n if dish % 10 < d:\n ans += 10 - d\n d = dish % 10\n else:\n ans += dish + 10 - dish % 10\nprint(ans)\n', 'import sys\n\ndishes = map(int, sys.stdin.read().split())\nans = 0\nd = 0\nfor dish in... | ['Wrong Answer', 'Accepted'] | ['s806391966', 's593025350'] | [2940.0, 2940.0] | [17.0, 17.0] | [216, 288] |
p03076 | u648092704 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['def f(x):\n return x + 10 - (x%10)\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\nres = f(a) + f(b) + f(c) + f(d) + f(e)\n\nl = [a, b, c, d, e]\nl = list(map(lambda x: (x-1)%10, l))\nres -= (10-(min(l)+1))\nprint(res)\n', 'def f(x):\n if x%10 == 0: return x\n r... | ['Wrong Answer', 'Accepted'] | ['s499347035', 's104470277'] | [3064.0, 3064.0] | [17.0, 18.0] | [255, 282] |
p03076 | u649373416 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['li=[int(input()) for i in range(5)]\nlic=[10-it%10 for it in li]\nprint( sum(li)+sum(lic)-max(lic) ) ', 'li=[int(input()) for i in range(5)]\nlic=[ (10-it%10)%10 for it in li]\nprint( sum(li)+sum(lic)-max(lic) ) '] | ['Wrong Answer', 'Accepted'] | ['s397507348', 's866059544'] | [2940.0, 2940.0] | [17.0, 17.0] | [99, 105] |
p03076 | u652081898 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['ans = 0\na = []\nfor _ in range(5):\n x = int(input())\n if x%10 == 0:\n ans += x\n else:\n ans += (x//10)*10\n a.append(x%10)\n\nif a == []:\n print(ans)\n exit()\nelif len(a) == 1:\n ans += a[0]\n print(ans)\n exit()\nans += (len(a)-1)*10\nans += min(a)', 'ans = 0\na = [... | ['Wrong Answer', 'Accepted'] | ['s071536017', 's498492658'] | [3064.0, 3060.0] | [17.0, 17.0] | [282, 233] |
p03076 | u652656291 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nA = a % 10\nB = b % 10\nC = c % 10\nD = d % 10\nE = e % 10\nM = min(A+1,B+1,C+1,D+1,E+1)\nprint(a+b+c+d+e+A+B+C+D+E-M)', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nA = a % 10 +1\nB... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s024910560', 's463409038', 's475688330', 's670693916', 's717103830', 's798306796', 's397228460'] | [3064.0, 3060.0, 3064.0, 3064.0, 3064.0, 3064.0, 3060.0] | [17.0, 17.0, 18.0, 18.0, 17.0, 18.0, 18.0] | [197, 219, 255, 187, 201, 250, 192] |
p03076 | u653837719 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [int(input()) for i in range(5)]\n\nb = sorted([i % 10 for i in a])\n\nans = sum(a)\n\nfor i in range(4):\n ans += (10 - b[i + 1])\n\nprint(ans)\n', 'a = [int(input()) for i in range(5)]\n\nb = sorted([i % 10 for i in a if i % 10 != 0])\n\nans = sum(a)\n\nfor i in range(len(b) - 1):\n ans += (10 - b[i + 1])... | ['Wrong Answer', 'Accepted'] | ['s994983495', 's176765079'] | [2940.0, 2940.0] | [17.0, 19.0] | [143, 167] |
p03076 | u655048024 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\nALL = [A,B,C,D,E]\nG=[[0,0],[0,0],[0,0],[0,0],[0,0]]\nfor i in range(len(ALL)):\n G[i][1] = ALL[i]\n G[i][0] = 10-(ALL[i] %10)\nG.sort()\ntotal = 0\nfor j in range(4):\n total = total+G[j][1]+G[j][0]\ntotal = total + G[4][1]\... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s142044066', 's940098318', 's873647414'] | [3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0] | [319, 304, 368] |
p03076 | u656995812 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['times = [int(input()) for i in range(5)]\nrest = [times[i] % 10 for i in range(len(times))]\nm = rest.index(min(rest))\ntotal = 0\nfor n in len(times):\n if n == m:\n total += times[n]\n else:\n total += ((times[n]+9) // 10) * 10\n\nprint(total)', 'times = [int(input()) for i in range(5)]\nrest = ... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s493729270', 's643092717', 's816356172', 's824210969', 's523686961'] | [3060.0, 3060.0, 2940.0, 3060.0, 3060.0] | [17.0, 18.0, 17.0, 18.0, 17.0] | [255, 251, 198, 262, 240] |
p03076 | u661576386 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [int(input()) for i in range(5)]\nn=0\nans =0\nfor x in a:\n if x % 10 !=0:\n t = 10 -x%10\n else:\n t=0\n n=max(n,t)\nprint(ans-n)', 'a = [int(input()) for i in range(5)]\nn=0\nans =0\nfor x in a:\n if x % 10 !=0:\n t = 10 -x%10\n else:\n t=0\n n=max(n,t)\n ans +=x+t\nprint(ans-n)\n'] | ['Wrong Answer', 'Accepted'] | ['s229925291', 's758287436'] | [2940.0, 2940.0] | [17.0, 17.0] | [135, 148] |
p03076 | u662121130 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A,B,C,D,E=int(input()),int(input()),int(input()),int(input()),int(input())\norders = [A,B,C,D,E]\nres = 0\nwhile orders:\n order = orders.pop(0)\n res += order\n if res % 10 != 0 and orders:\n res = res//10 * 10 + 10\nprint(res)\n', "A,B,C,D,E=int(input()),int(input()),int(input()),int(input()),int(input())\nor... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s121860367', 's133429237', 's350856193', 's576988442', 's588278161', 's835366995'] | [3060.0, 3064.0, 3064.0, 3060.0, 3060.0, 3064.0] | [18.0, 17.0, 18.0, 19.0, 17.0, 17.0] | [227, 324, 321, 216, 215, 355] |
p03076 | u664652300 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\ns = a+b+c+d+e\nl = []\nl.append((10-a%10)%10)\nl.append((10-b%10)%10)\nl.append((10-c%10)%10)\nl.append((10-d%10)%10)\nl.append((10-e%10)%10)\nl.sort()\nprint(l)\nprint(s)\nprint(s+sum(l[:-1]))', 'a = int(input())\nb = int(input... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s432479763', 's505736133', 's098034888'] | [3064.0, 3064.0, 3064.0] | [18.0, 17.0, 17.0] | [268, 226, 250] |
p03076 | u665038048 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A_list = []\nfor i in range(5):\n A_list.append(input())\none_list = []\none_list.append(int(A_list[0][-1]))\none_list.append(int(A_list[1][-1]))\none_list.append(int(A_list[2][-1]))\none_list.append(int(A_list[3][-1]))\none_list.append(int(A_list[4][-1]))\nmin_num = max(one_list)\nfor i in range(len(one_list)):\n... | ['Runtime Error', 'Accepted'] | ['s531969788', 's251865432'] | [3064.0, 3064.0] | [17.0, 17.0] | [666, 744] |
p03076 | u667084803 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A = [int(input()) for i in range(5)]\n\nans = 0\nremain = 9\nfor a in A:\n if a%10 == 0:\n ans += a//10\n else:\n ans += (a+10)//10\n remain = min(remain, a%10)\n \nprint(ans * 10 + remain)', 'A = [int(input()) for i in range(5)]\n\nans = 0\nremain = 10\nfor a in A:\n if a%10 == 0:\n ans += a//10\n ... | ['Wrong Answer', 'Accepted'] | ['s424059994', 's270089689'] | [2940.0, 2940.0] | [18.0, 17.0] | [192, 244] |
p03076 | u669686752 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\na1 = (a + 9) // 10 * 10\nb1 = (a + 9) // 10 * 10\nc1 = (a + 9) // 10 * 10\nd1 = (a + 9) // 10 * 10\ne1 = (a + 9) // 10 * 10\n\ntmax = 0\nif tmax < a1 - a:\n\ttmax = a1 - a\nif tmax < b1 - b:\n\ttmax = b1 - b\nif tmax < c1 - c:... | ['Wrong Answer', 'Accepted'] | ['s970007955', 's384544033'] | [3064.0, 3316.0] | [17.0, 21.0] | [408, 423] |
p03076 | u670180528 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['m=map;l=lambda;*a=m(int,open(0));b=m(l x:-x%10,a);c=m(l x:--x//10,a);print(sum(c)+min(b))', '*a,=map(int,open(0));print(-max(-j%10for j in a)-sum(-i//10for i in a)*10)'] | ['Runtime Error', 'Accepted'] | ['s952545939', 's168695411'] | [2940.0, 2940.0] | [17.0, 17.0] | [89, 74] |
p03076 | u670567845 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\n \ninter_A = (A//10)*10 + 10\ninter_B = (B//10)*10 + 10\ninter_C = (C//10)*10 + 10\ninter_D = (D//10)*10 + 10\ninter_E = (E//10)*10 + 10\n \nfirst_A = A + inter_B + inter_C + inter_D + inter_E\nfirst_B = inter_A + B + inter_C + ... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s829316170', 's947803678', 's197514894'] | [3064.0, 3064.0, 3064.0] | [17.0, 18.0, 17.0] | [536, 532, 681] |
p03076 | u673173160 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ["import sys, math, itertools, collections, bisect\ninput = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8') \ninf = float('inf') ;mod = 10**9+7 \nmans = inf ;ans = 0 ;count = 0 ;pro = 1\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nnn = [a, b, c, d, e]\nfor i ... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s264260522', 's619766425', 's180909646'] | [9376.0, 9116.0, 9424.0] | [28.0, 25.0, 32.0] | [583, 388, 818] |
p03076 | u673338219 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['mx = 0\ns = 0\nfor _ in range(5):\n ai = int(input())\n if ai%10 == 0:\n s += ai\n else:\n s += ai//10+10\n if 10-ai%10 > mx:\n mx = 10-ai%10\nprint(s-mx)\n ', 'mx = 0\ns = 0\nfor _ in range(5):\n ai = int(input())\n if ai%10 == 0:\n s += ai\n else:\n s += 10*(ai//10)+10\n if 10-ai%10 > ... | ['Wrong Answer', 'Accepted'] | ['s510213545', 's381587117'] | [2940.0, 2940.0] | [17.0, 17.0] | [164, 166] |
p03076 | u677705680 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = []\nfor i in range(5):\n a.append(int(input()))\n \nb = []\nc = []\nfor j in range(5):\n if a[j] % 10 == 0:\n c.append(10)\n b.append(a[j]-10)\n else:\n \u3000num = a[j]%10\n c.append(num)\n b.append(a[j] - c[j])\n \n \nb_sum = sum(b)\nc_min = min(c)\nc_sum = c_min... | ['Runtime Error', 'Accepted'] | ['s178290046', 's710608108'] | [2940.0, 3064.0] | [19.0, 17.0] | [327, 354] |
p03076 | u681110193 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['\nsum=0\nm=9\nfor i in range(5):\n dish=int(input())\n if dish%10==0:\n sum+=dish\n else:\n sum+=dish+10-dish%10\n m=min(m,dish%10)\nprint(sum-10+dish%10)\n \n', '\nsum=0\nm=10\nfor i in range(5):\n dish=int(input())\n if dish%10==0:\n sum+=dish\n else:\n sum+=dish+10-dish%10\n m=min(m,dish%1... | ['Wrong Answer', 'Accepted'] | ['s982870175', 's439556091'] | [2940.0, 2940.0] | [17.0, 18.0] | [160, 160] |
p03076 | u681444474 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [[0,0],[0,0],[0,0],[0,0],[0,0]]\nfor i in range(5):\n a[i][0] = int(input())\n\nprint(a)\ntime = 0\n\nfor j in range(5):\n a[j][1] = 10-(a[j][0]%10)\n\nfor k in range(5):\n a.sort(key=lambda x:x[0])\n a.sort(key=lambda x:x[1])\nprint(a)\n\nfor l in range(4):\n if a[l][1] == 10:\n time += a[l][0]\n... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s511541222', 's964352147', 's645655785'] | [3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0] | [375, 359, 412] |
p03076 | u681851526 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import math\n\narr = [int(input()) for _ in range(5)]\n\ndef orderSort(arr):\n more = 0\n for i in range(4):\n if(arr[i]%10 > arr[i+1]%10):\n arr[i], arr[i+1] = arr[i+1], arr[i]\n more = 1\n return more\n\nwhile(orderSort(arr)):\n pass\n\ntime = 0\nfor i in range(1, 5):\n t... | ['Wrong Answer', 'Accepted'] | ['s103598806', 's268765144'] | [3064.0, 3060.0] | [18.0, 17.0] | [363, 388] |
p03076 | u686036872 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['list=[int(input()) for i in range(5)]\nsum=sum(list)\nmax=0\nfor x in list:\n y = -(-x//10)*10\n max=(y-x, max)\n print(sum-max)', 'min=10\nsum=0\nfor i in range(5):\n y=int(input())\n x=10-y%10\n min=min(min, x)\n if x==min:\n sum+=y\n else:\n sum+=y+x\nprint(sum)', 'sum=0\nfor i in range(5):\n y=int(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error',... | ['s001129231', 's001949842', 's016087945', 's029778538', 's036229435', 's036595094', 's052661645', 's155720258', 's165692147', 's175135522', 's181343029', 's192805101', 's219991034', 's283099205', 's318729155', 's329295380', 's349904531', 's358002603', 's515675476', 's550382587', 's579133426', 's583171900', 's606071875... | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 3188.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 3188.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, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [125, 134, 98, 79, 165, 145, 175, 83, 124, 92, 108, 126, 111, 124, 18, 172, 121, 113, 101, 108, 11, 126, 124, 120, 167, 131, 109, 108, 123, 70, 78, 145, 127, 120, 51, 67, 30, 126, 126, 129, 108] |
p03076 | u688375653 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['input_data = []\nfor i in range(5):\n input_data.append(int(input()))\n\nmin_value=10\nmin_index=0\nfor i, data in enumerate(input_data):\n if data%10 < min_value:\n min_value = data%10\n min_index = i\n\nsum_value=0\nfor i, data in enumerate(input_data):\n if i != min_index:\n if data%1... | ['Wrong Answer', 'Accepted'] | ['s238766158', 's379259350'] | [3064.0, 3064.0] | [17.0, 17.0] | [454, 479] |
p03076 | u689193446 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['lst = [int(x) for x in input().split()]\nlst.sort(reverse=True, key = lambda x : (x - 1) % 10)\ns = 0\nfor i in lst:\n s += i\n if i != lst[4]:\n s += 10 - s % 10\n\nprint(s)', 'lst = []\nfor i in range(5):\n lst.append(int(input())\nlst.sort(reverse=True, key = lambda x : (x - 1) % 10)\ns = 0\nfor i in... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s176183476', 's312630264', 's196106011'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [179, 193, 217] |
p03076 | u689258494 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import math\na,b,c,d,e=[int(input()) for i in range(5)]\nx=[]\ny=[]\ndef ceil(src, range):\n return ((int)(src / range) + 1 ) * range\nfor s in [a,b,c,d,e]:\n if s%10 != 0:\n x.append(s%10)\n y.append(ceil(s,10))\nt=min(x)\nif a%10==0 and b%10==0 and c%10==0 and d%10==0 and e%10==0:\n print(a+b+c+d+e)\nelse:\n... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s912787791', 's936389135', 's857364645'] | [3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0] | [347, 351, 421] |
p03076 | u690037900 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A=[int(input())for _ in[0]*5]\nB=[-(-a//10)*10-a for a in A]\nprint(sum(B)+sum(A)-max(B))\nprint(B)', 'num=0\nL=list(input() for i in range(5))\nM=sorted(list(int(i[-1]) for i in L))\nL=list(int(i) for i in L)\nM.pop(0)\nM=list(10-i for i in M)\nprint(sum(M)+sum(L))', 'A=[int(input())for _ in[0]*5]\nB=[-(-a//10)*10-a... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s803405827', 's853674364', 's936923165'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [96, 157, 87] |
p03076 | u691018832 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [int(input()) for i in range(5)]\nn = 0\nans = 0\n\nfor x in a:\n if x % 10 != 0:\n t = 10 - x % 10\n else:\n t = 0\n \n res += x + t\n n = max(n, t)\n \nprint(ans - n)\n', 'a = [int(input()) for i in range(5)]\nn = 0\nans = 0\n\nfor x in a:\n if x % 10 != 0:\n t = 10... | ['Runtime Error', 'Accepted'] | ['s449697809', 's304325168'] | [2940.0, 2940.0] | [17.0, 18.0] | [196, 196] |
p03076 | u692453235 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['L = []\nfor _ in range(5):\n L.append(int(input()))\n\nL.sort()\n\nfor i in range(5):\n L[i] += 10*(4-i)\n\nprint(max(L))', 'L = []\nR = []\n\nfor _ in range(5):\n x = int(input())\n L.append(x)\n R.append(-x%10)\n\nprint(sum(L)+sum(R)-max(R))'] | ['Wrong Answer', 'Accepted'] | ['s306064617', 's249324551'] | [9164.0, 8940.0] | [27.0, 28.0] | [114, 113] |
p03076 | u692514846 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['from math import *\nplate = [int(input()) for i in range(5)]\namari = [plate[i]%10 for i in range(5)]\nans = 0\n\ndef kiriage(n):\n return n + (10 - n%10)\n\nfor i in range(5):\n ans += kiriage(plate[i])\n\nans -= max(amari)\nprint(ans)\n', 'plate = [int(input()) for i in range(5)]\namari=[]\nfor i in range(5):... | ['Wrong Answer', 'Accepted'] | ['s616696508', 's477147484'] | [3060.0, 3060.0] | [17.0, 17.0] | [231, 347] |
p03076 | u692690314 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['dishes = [int(input()) for _ in range(5)]\ndishes = sorted(dishes, key=lambda x: x % 10)\nminutes = 0\nfirst = True\nfor i in dishes:\n if i % 10 == 0:\n minutes += i\n else:\n if first:\n minutes += i\n first = False\n else:\n minutes += int(np.ceil(i/10)*1... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s699719590', 's935074257', 's309520282'] | [9104.0, 9052.0, 26604.0] | [26.0, 21.0, 119.0] | [323, 343, 342] |
p03076 | u693007703 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ["dishes = []\nfor i in range(5):\n dishes.append(input())\n \nidx = 0\nmin_ones_place = 9\n\nfor j in range(5):\n ones_place = int(dishes[j][-1])\n if ones_place != 0:\n if ones_place < min_ones_place:\n min_ones_place = ones_place\n idx = j\n \nlast_dish = int(dishe... | ['Runtime Error', 'Accepted'] | ['s087155167', 's623447889'] | [3064.0, 5076.0] | [17.0, 33.0] | [574, 597] |
p03076 | u693048766 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['As = []\nfor i in range(5):\n x = int(input())\n time_b = (x//10 + 1)*10\n amari = time_b%10\n As.append((amari, x, time_b))\n\nAs = sorted(As, key=lambda x:x[0])\n\nsumed = sum([x[2] for x in As[1:]])\n\nprint(sumed + As[0][1])', "As = []\nfor i in range(5):\n x = int(input())\n if x%10 != 0:\n ... | ['Wrong Answer', 'Accepted'] | ['s337589493', 's563186236'] | [3060.0, 3064.0] | [17.0, 17.0] | [230, 403] |
p03076 | u694665829 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ["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.readline().split()\nri = lambda: int(sys.stdin.readline())\nrm = lambda: map(int, sys.stdin.readline().split())\nrl = lambda: list(map(int, ... | ['Wrong Answer', 'Accepted'] | ['s195323609', 's439874986'] | [26968.0, 9136.0] | [118.0, 28.0] | [546, 205] |
p03076 | u696240348 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import math\nA = [int(input()) for _ in range(5)]\nA.sort()\nprint([(i//10+1)*10 for i in A])\nprint(sum([math.ceil(i/10)*10 for i in A]) -max([10-i for i in [ (i % 10) for i in A] if i != 0]))\n\n', 'import math\nA = [int(input()) for _ in range(5)]\nprint(sum([math.ceil(i/10)*10 for i in A]) -max([10-i for i in [... | ['Runtime Error', 'Accepted'] | ['s330003331', 's492159524'] | [3060.0, 2940.0] | [17.0, 17.0] | [192, 155] |
p03076 | u698868214 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['times = [input() for _ in range(5)]\n\nres = 0\nfor i in times:\n res += (int(i)//10)*10+10\n \ntime = []\nfor j in times:\n time.append((int(j[-1]) if j[-1] != "0" else 10))\n \nprint(res - 10 + min(time))', 'times = [input() for _ in range(5)]\n\nres = 0\nfor i in times:\n res += (int(i)//10)*10+(10 if i[-1] !... | ['Wrong Answer', 'Accepted'] | ['s437911218', 's538747288'] | [9180.0, 9192.0] | [26.0, 28.0] | [200, 225] |
p03076 | u698988260 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['food = [int(input()) for _ in range(5)]\n\ntotal = 0\ncompare = 0\nlargest = 0\n\nfor x in food:\n if (10 - (x % 10) > compare) and ((x % 10) != 0):\n largest = x\n compare = 10 - (x % 10)\n\nfood.remove(largest)\nprint(largest)\n\nfor i in range(len(food)):\n if food[i] % 10 != 0:\n total ... | ['Runtime Error', 'Accepted'] | ['s987247455', 's184028936'] | [3064.0, 3064.0] | [17.0, 17.0] | [392, 471] |
p03076 | u702364978 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\ndef res(x):\n return 10 - x//10\n\ndef gauss(x):\n return 10 * (x//10 + 1)\n\nds = [a, b, c, d, e]\nds_sort = sorted(ds, key=lambda x: res(x))\nans = sum([gauss(e) for e in ds_sort[:-1]]) + ds_sort[-1]\n\nprint(ans)', 'a... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s112743408', 's129412712', 's792272571', 's438959022'] | [3064.0, 3064.0, 3064.0, 3064.0] | [17.0, 18.0, 17.0, 17.0] | [297, 340, 301, 372] |
p03076 | u702582248 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a=[int(input()) for _ in range(5)]\na.sort()\na=[i*10 + j for i, j in enumerate(a)]\nprint(max(a))\n', 'a=[int(input()) for _ in range(5)]\na.sort(reverse=True)\na=[i*10 + j for i, j in enumerate(a)]\nprint(max(a))\n', 'a=[int(input()) for _ in range(5)]\na.sort()\na=[i*10 + j for i, j in enumurate(a)]\nprint(max(a))... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s591794322', 's694743561', 's940480218', 's032972905'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0, 17.0] | [96, 108, 95, 140] |
p03076 | u708255304 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['times = [int(input()) for _ in range(5)]\n\namarino_times = [i % 10 for i in times]\n#\n# min_index = amarino_times.index(min(amarino_times))\n#\n\n#\n#\n\n\n\n\n\n#\n# sum += last_choose_time\n#\n# hoge = 0\n\n\n# hoge += 1\n\n\n# print(hoge)\n# if hoge:\n\n#\n#\n# print(sum)\n\nsum = 0\nfor i in times:\n ... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s357296918', 's617804328', 's257181137'] | [3060.0, 3064.0, 2940.0] | [18.0, 17.0, 17.0] | [849, 512, 522] |
p03076 | u712082626 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['i = [int(input()) for i in range(5)]\nmin = i[4]\ncount = 0\nfor x in i:\n if 0 < x % 10 < min % 10:\n min = x\n count += 1\ni.remove(min)\n\nfor x in i:\n if x % 10 != 0:\n index = i.index(x)\n x += 10 - x % 10\n i[index] = x\n\ni.append(min)\n\nprint(sum(i))\n', 'list = [int... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s353878523', 's525497558', 's619586125', 's263609589'] | [3060.0, 3060.0, 3060.0, 3064.0] | [18.0, 17.0, 17.0, 17.0] | [285, 267, 267, 376] |
p03076 | u712953122 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ["# B - Five Dishes\n\nn = []\n# n = [29, 20, 7, 35, 120]\nfor _ in range(5):\n n.append(int(input()))\n\nmini = 10\nfor y, x in enumerate(n):\n rest = x % 10 \n if rest != 0:\n if rest < mini:\n mini = rest\n mini_num = y \n \n# print(mini)\n# print(mini_num)\n\n# print... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s775702561', 's776059018', 's806744739', 's997902297', 's198821567'] | [3064.0, 3064.0, 3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [542, 407, 417, 546, 266] |
p03076 | u713914478 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A = [0]*5\nfor i in range(5):\n\tA[i] = int(input())\n\nmi = 10\nsm = 0\nfor i in range(5):\n\td = A[i] // 10\n\tr = A[i] % 10\n\tif r == 0:\n\t\tsm += (d)*10\n\telse:\n\t\tsm += (d+1)*10\n\t\t\n\tif r != 0 and min(mi,r) < mi:\n\t\tmi = min(mi,r)\n\t\tidx = i\n\t\tmin_r = r\n\t\tmin_d = d\n\tprint(min_r,min_d,i,sm)\n... | ['Runtime Error', 'Accepted'] | ['s246394844', 's815119465'] | [3064.0, 3064.0] | [17.0, 17.0] | [301, 311] |
p03076 | u720636500 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import math\ndish = [int(input()) for _ in range(5)]\nsm = 9\nfor item in dish:\n r = item % 10\n if 1 <= r <= 10:\n sm = min(sm, r)\n smin = item\nans = 0 \nfor cnt, item in enumerate(dish):\n if cnt == smin:\n ans += item\n else:\n ans += math.ceil(item)\nprint(ans) ', 'import math\ndish = [in... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s122647794', 's198548282', 's369191450', 's791714396', 's858219342', 's651627968'] | [3064.0, 3064.0, 3316.0, 3064.0, 3064.0, 3064.0] | [18.0, 19.0, 20.0, 18.0, 18.0, 18.0] | [277, 361, 300, 286, 296, 376] |
p03076 | u721425712 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['def mod(x):\n if x % 10 == 0:\n return x\n else:\n while True:\n x += 1\n if x % 10 == 0:\n break\n return x\n \nA = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\nM = min(A%10, B%10, C%10, D%10, E%10)\n\nif M == A%10:\n ans = A + mod(B) + mod(C... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s757041869', 's910792971', 's751637552'] | [3064.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0] | [572, 554, 183] |
p03076 | u722189950 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['nums = [int(input()) for _ in range(5)]\nl = map(int,filter(lambda x:x !="0",[str(n)[-1] for n in nums]))\nr = [(n+9) // 10 for n in nums]\nprint(sum(r)*10-(10-min(l))) if len(l) != 0 else print(sum(r)*10)', 'nums = [int(input()) for _ in range(5)]\nl = list(map(int,filter(lambda x:x !="0",[str(n)[-1] for n in nums])... | ['Runtime Error', 'Accepted'] | ['s696053564', 's762260436'] | [3060.0, 3060.0] | [18.0, 17.0] | [202, 208] |
p03076 | u723583932 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['#125 b\ndef age(x):\n if x%10==0:\n return x\n else:\n return x+10-x%10\n\nr=[]\namari=[]\namari_min=10\nans=0\nfor i in range(5):\n d=int(input())\n amari.append(d%10)\n r.append(age(d))\n\nfor x in range(5):\n if x!=0 and amari_min>x:\n amari_min=x\nans+=sum(r)\n\n\nfor x in a... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s317620414', 's986173689', 's208271382'] | [3064.0, 3064.0, 3064.0] | [18.0, 17.0, 17.0] | [404, 429, 433] |
p03076 | u726439578 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a=[]\nfor i in range(5):\n a.append(int(input()))\nans=0\nmin=10\nminn=0\nfor i in range(5):\n if a[i]%10<=min and a[i]%10!=0:\n min=a[i]%10\n minn=i\nfor i in range(5):\n if a[i]%10!=0:\n b=(a[i]//10)\n ans=ans+b*10+10\n else if a[i]=0:\n ans+=10\n else:\n ans... | ['Runtime Error', 'Accepted'] | ['s170513760', 's841947778'] | [2940.0, 3064.0] | [17.0, 17.0] | [338, 374] |
p03076 | u729133443 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ["e,*a=sorted(eval('int(input()),'*5),key=lambda x:~x%10);print(e-sum(-i//10*10for i in a))", "a=eval('int(input()),'*5);print(min(i%10for i in a)-9-sum(-i//10*10for i in a))", 'a=map(int,open(0));print(min(~-i%10for i in a)-sum(-i//10*10for i in a)-9)', '*a,=map(int,open(0));print(min(~-i%10for i in a)-sum(-i//10*10fo... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s419109272', 's740832223', 's773726214', 's039804275'] | [3060.0, 3064.0, 2940.0, 2940.0] | [17.0, 19.0, 18.0, 17.0] | [89, 79, 74, 76] |
p03076 | u729173935 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nl = [a,b,c,d,e]\nh = 0\nfor i in range(0, 5):\n f = l[i] // 10\n g = l[i] % 10\n if not(g == 0):\n f = f + 1\n f = f * 10\n h = h + f\nprint(h)', 'a = int(input())\nb = int(input())\nc = int(input())\nd = i... | ['Wrong Answer', 'Accepted'] | ['s103849469', 's084658327'] | [3060.0, 3064.0] | [17.0, 17.0] | [241, 313] |
p03076 | u731362892 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A=int(input())\nB=int(input())\nC=int(input())\nD=int(input())\nE=int(input())\n\n\n\n\n\nimport math\na=10*(math.ceil(A/10))\nb=10*(math.ceil(B/10))\nc=10*(math.ceil(C/10))\nd=10*(math.ceil(D/10))\ne=10*(math.ceil(E/10))\nQ=max(a-A,b-B,c-C,d-D,e-E)\nif Q==a-A:\n print(b+c+d+e+A)\nelif Q==b-B:\n print(b+c+d+e+B... | ['Wrong Answer', 'Accepted'] | ['s203332343', 's961469122'] | [3064.0, 3064.0] | [18.0, 17.0] | [727, 727] |
p03076 | u731607169 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['l = list(map(int, input().split()))\nlr = list(map(lambda x: x%10, l))\nlr.sort()\nlr = [e for e in lr if e%10!=0]\nlr = list(map(lambda x: 10-x, lr[1:]))\nprint(sum(l) + sum(lr))', 'l = list(map(int, input().split()))\nlr = list(map(lambda x: x%10, l))\nlr = [e for e in lr if e != 0]\nsum(l) + sum(list(map(lambda x:... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s122725049', 's503262001', 's667688937', 's778356657', 's892728231', 's924501919'] | [3060.0, 2940.0, 3060.0, 3060.0, 2940.0, 2940.0] | [17.0, 17.0, 20.0, 17.0, 17.0, 17.0] | [174, 149, 170, 155, 165, 191] |
p03076 | u732412551 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['N, *A = [int(input()) for _ in range(5)]\nprint(4 + (N+min(A)-1)//min(A))', 'A = [int(input()) for _ in range(5)]\nA.sort(key=lambda a: (a+9)%10)\nprint(10 * (sum(map(lambda a: a//10, A)) + sum(map(lambda a: int(a%10!=0), A[1:]))) + A[0]%10)'] | ['Wrong Answer', 'Accepted'] | ['s848949756', 's043077867'] | [2940.0, 3060.0] | [17.0, 17.0] | [72, 162] |
p03076 | u734195782 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\ns = [a%10,b%10,c%10,d%10,e%10]\nm = min(s)\nif a%10 == m:\n ans = a + int(b/10)*10+int(c/10)*10+int(d/10)*10+int(e/10)*10+40\nelif b%10 == m:\n ans = b + int(a/10)*10+int(c/10)*10+int(d/10)*10+int(e/10)*10+40\nelif c%10 ==... | ['Wrong Answer', 'Accepted'] | ['s669256947', 's764517415'] | [3064.0, 27084.0] | [17.0, 119.0] | [550, 390] |
p03076 | u734936991 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import itertools\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\ninput = [a, b, c, d, e]\n\ndec = [n % 10 for n in input]\npair = zip(dec, input)\nmin_val = 999\nfor num in dec:\n if num != 0 and min_val > num:\n min_val = num\n\nsum = 0\nmin_flag = False\nfor d, n i... | ['Wrong Answer', 'Accepted'] | ['s487059592', 's906158053'] | [3064.0, 3064.0] | [17.0, 17.0] | [447, 463] |
p03076 | u735186902 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A = str(input())\nB = str(input())\nC = str(input())\nD = str(input())\nE = str(input())\na = int(A[-1:])\nb = int(B[-1:])\nc = int(C[-1:])\nd = int(D[-1:])\ne = int(E[-1:])\nF = [a,b,c,d,e]\nG = F.count(0)\nH = (10-a)+(10-b)+(10-c)+(10-d)+(10-e)\np = 9 if a == 0 else a\nq = 9 if b == 0 else b\nr = 9 if c == 0 else c... | ['Runtime Error', 'Accepted'] | ['s152604234', 's607698778'] | [3064.0, 3064.0] | [17.0, 18.0] | [460, 472] |
p03076 | u736479342 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['l=[]\nm=[]\nfor i in range(5):\n i = int(input())\n k = 10 - (i%10)\n l.append(i)\n if k != 10:\n m.append(k)\nm.sort()\ns = sum(m)-m[4]\nprint(sum(l)+s)', 'l=[]\nm=[]\nfor i in range(5):\n i = int(input())\n k = 10 - (i%10)\n l.append(i)\n if k != 10:\n m.append(k)\nm.sort()\nif len(m)==0:\n print(sum... | ['Runtime Error', 'Accepted'] | ['s433302891', 's069260842'] | [9184.0, 9012.0] | [24.0, 28.0] | [150, 191] |
p03076 | u739852499 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['def calculation(time_array):\n first_values = [i % 10 if i % 10 != 0 else i for i in time_array]\n minlocation = first_values.index(min(first_values))\n last_order = time_array.pop(minlocation)\n print(first_values)\n print(last_order)\n order_time = [i if i % 10 == 0 else int(i /10) * 10 + 10 for i... | ['Wrong Answer', 'Accepted'] | ['s460724193', 's205628698'] | [3060.0, 3060.0] | [17.0, 17.0] | [527, 481] |
p03076 | u741495664 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['list = []\nindent = 0\nfor i in range(5):\n memory = 9\n list.append(int(input()))\n if memory > list[i] % 10 && list[i] % 10 != 0:\n \tindent = i\n \ncount = 0\nfor i in range(5):\n if i == indent:\n count += list[i]\n else:\n count += 10 * (int(list[i]/10) + 1)\n \nprint(count)', 'list = []\nmemory = 0\... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s037520798', 's196973752', 's280467022', 's307658811', 's444073782', 's519080313', 's588600801', 's616808222', 's391938442'] | [2940.0, 3060.0, 3064.0, 2940.0, 2940.0, 3060.0, 3060.0, 3060.0, 3064.0] | [18.0, 17.0, 20.0, 18.0, 18.0, 20.0, 18.0, 18.0, 18.0] | [276, 240, 299, 297, 300, 256, 255, 276, 312] |
p03076 | u742897895 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [[0, int(input())] for i in range(5)]\n\nfor i in range(5):\n a[i][0] = a[i][1] % 10\n if a[i][0] == 0:\n a[i][0] = 10\n a[i][1] -= 10\n\na.sort(reverse=True)\n\nans = 0\nfor i in range(4):\n if a[i][0] == 10:\n ans += a[i][1] + 10\n else:\n ans += a[i][1] + (10 - a[i][0])\... | ['Wrong Answer', 'Accepted'] | ['s280697108', 's253984884'] | [3064.0, 3064.0] | [17.0, 17.0] | [346, 362] |
p03076 | u745561510 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\ndis_a = 10 - a % 10\ndis_b = 10 - b % 10\ndis_c = 10 - c % 10\ndis_d = 10 - d % 10\ndis_e = 10 - e % 10\n\ntime = {"a":a, "b":b, "c":c, "d":d, "e":e}\ndic = {"a":dis_a, "b":dis_b, "c":dis_c, "d":dis_d, "e":dis_e}\n\nfor k,v in... | ['Wrong Answer', 'Accepted'] | ['s963720811', 's065015614'] | [3064.0, 3064.0] | [17.0, 18.0] | [594, 550] |
p03076 | u746206084 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['s = 0\nnum = 0\nfor i in range(5):\n k = int(input())\n l = k - 10*int(k/10)\n if l>num:\n num = l\n s+=k-l+10\nprint(s-10+num)', 's = 0\nnum = 0\nfor i in range(5):\n k = int(input())\n l = k - 10*int(k/10)\n if l>num:\n num = l\n if l==0:\n l=10\n s+=k-l+10\nprint(s-10+num)', 's = 0\nnum = 10\nfor... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s560531239', 's966157986', 's289934910'] | [2940.0, 2940.0, 2940.0] | [17.0, 20.0, 17.0] | [126, 146, 170] |
p03076 | u747873993 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ["import numpy as np\nA=[int(input()) for i in range(5)]\nB=[]\nfor i in range(5):\n if int(str(A[i])[-1])!=0 and len(str(A[i]))>2:\n B.append(int(str(A[i])[:-3]+str(A[i]+1)+'0'))\n elif int(str(A[i])[-1])!=0 and len(str(A[i]))==2:\n B.append(int(str(int(str(A[i])[0])+1)+'0'))\n elif int(str(A[i]... | ['Runtime Error', 'Accepted'] | ['s374048133', 's548358545'] | [3064.0, 18768.0] | [18.0, 283.0] | [501, 515] |
p03076 | u747884126 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\nl = []\nans = 0\nfor t in [a,b,c,d,e]:\n if t%10 == 0:\n ans += t\n else:\n l.append(t)\n\nif len(l) < 1:\n print(ans)10\nelif len(l) == 1:\n print(ans + l[0])\nelse:\n l = sorted(l, key=lambda x: x%10, reverse=True... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s151292721', 's664036556', 's703449618'] | [2940.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0] | [493, 326, 491] |
p03076 | u748311048 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a,b,c,d,e=int(input())', 'import math\na=int(input());b=int(input());c=int(input());d=int(input());e=int(input())\n\nN=math.ceil(a/10)*10+math.ceil(b/10)*10+math.ceil(c/10)*10+math.ceil(d/10)*10+math.ceil(e/10)*10\nX=[a%10,b%10,c%10,d%10,e%10]\nprint(N-(10-min(X)))', 'a,b,c,d,e=int(input())\nprint(a)', 'import math\n... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s100447537', 's262309526', 's628419429', 's836076661', 's936296161', 's981830911', 's640449345'] | [2940.0, 3064.0, 2940.0, 3064.0, 3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [22, 234, 31, 328, 327, 278, 293] |
p03076 | u749608932 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\ndishes = [a,b,c,d,e]\nans = 0\nfor i in range(5):\n if dishes[i]%10=0:\n ans += dishes[i]//10\n else:\n ans += dishes[i]//10+1\nprint(ans*10)', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne =... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s048290188', 's299661527', 's382146339', 's722395422', 's098065837'] | [2940.0, 3064.0, 3064.0, 3064.0, 3064.0] | [18.0, 17.0, 18.0, 18.0, 17.0] | [227, 228, 319, 294, 322] |
p03076 | u754022296 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['l = [ int(input()) for _ in range(5) ]\nr = sorted([ 10-((10-i)%10) for i in l ])\nprint()\nu = [ -(-i//10) for i in l ]\nprint(sum(u)-(10-r[0]))', 'l = [ int(input()) for _ in range(5) ]\nr = sorted([ 10-((10-i)%10) for i in l ])\nu = [ -(-i//10)*10 for i in l ]\nprint(sum(u)-(10-r[0]))'] | ['Wrong Answer', 'Accepted'] | ['s459128584', 's879023321'] | [3060.0, 2940.0] | [18.0, 17.0] | [141, 136] |
p03076 | u756429062 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | [' mod0 = []\nlst = []\nfor i in range(5):\n inp = int(input())\n if inp % 10 == 0:\n mod0.append(inp)\n else:\n lst.append(inp)\n\nans = sum(mod0)\nlast = 0\nfor n, i in enumerate(lst):\n for nn, ii in enumerate(lst):\n if i % 10 < ii % 10:\n last = i\n else:\n ... | ['Runtime Error', 'Accepted'] | ['s036063729', 's449890575'] | [2940.0, 3064.0] | [17.0, 17.0] | [431, 342] |
p03076 | u757014735 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a=[int(input()) for i in range(5)]\nb=[a[i]//10*10 for i in range(5)]\nc=min([a[i]%10 for i in range(5)])\nprint(c+40+sum(b))\n', 'a=[int(input()) for i in range(5)]\nb=[(a[i]-1)//10*10 for i in range(5)]\nc=[a[i]%10 for i in range(5)]\nfor i in range(5):\n\tif a[i]%10==0:\n\t\tc[i]=10\nd=min(c)\nprint(d+40+sum(b))'] | ['Wrong Answer', 'Accepted'] | ['s999902039', 's403738447'] | [2940.0, 3060.0] | [17.0, 17.0] | [123, 175] |
p03076 | u757030836 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['from itertools import permutations\nimport math\nmenu = 5\ntimes = [int(input()) for i in range(menu)]\norders = list(permutations(times,menu))\nminimum = sum(math.ceil(time/10)*10 for time in times)\nfor order in orders:\n total = order[0]\n for i in range(1,menu):\n total = math.ceil(order[i]/10)*10\n minimum... | ['Wrong Answer', 'Accepted'] | ['s606746437', 's096695013'] | [3064.0, 3060.0] | [18.0, 18.0] | [344, 378] |
p03076 | u760171369 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import numpy as np\nA = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\n\na = A % 10\nb = B % 10\nc = C % 10\nd = D % 10\ne = E % 10\n\nr = np.array([a, b, c, d, e])\nk = (r > 0).sum()\nl = r[r != 0].min()\nprint(A + B + C + D + E + 10*(k-1) + l)', 'import numpy as np\nA = int(in... | ['Runtime Error', 'Accepted'] | ['s372252888', 's648622309'] | [12424.0, 14296.0] | [148.0, 150.0] | [268, 396] |
p03076 | u760391419 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [ int(input()) for _ in range(5) ]\n\nans = a[0]\nfor i in a[1:]:\n ans += i if i%10==0 else i+10-i%10\n\nprint(ans)', 'a = [ int(input()) for _ in range(5) ]\na = sorted(a,key=lambda x: x%10)\n\nans = a[0]\nfor i in a[1:]:\n ans += i + 10-i%10\n\nprint(ans)', 'a = [ int(input()) for _ in range(5) ]\na = sorted... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s008873102', 's842032237', 's303899030'] | [2940.0, 3060.0, 3060.0] | [17.0, 17.0, 18.0] | [115, 132, 153] |
p03076 | u761676084 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\na_s = a + (10 - a%10)\na_a = a%10\nb_s = b + (10 - b%10)\nb_a = b%10\nc_s = c + (10 - c%10)\nc_a = c%10\nd_s = d + (10 - d%10)\nd_a = d%10\ne_s = e + (10 - e%10)\ne_a = e%10\n\nanswer = (a_s + b_s + c_s + d_s + e_s)\n\nList =[... | ['Wrong Answer', 'Accepted'] | ['s574976127', 's466275952'] | [3064.0, 3064.0] | [18.0, 17.0] | [507, 627] |
p03076 | u766566560 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['from itertools import permutations\n\nD = [int(input()) for _ in range(5)]\nans = 650\n\nfor d in list(permutations(D)):\n sum = 0\n for i in range(5):\n sum += d[i]\n if (i != 4):\n sum += 10 - (d[i] % 10)\n if sum < ans: \n ans = sum\n\nprint(ans) ', 'from itertools import permutations\n\nD = [... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s030826875', 's190497237', 's348130398', 's163017789'] | [3060.0, 3060.0, 3060.0, 3060.0] | [18.0, 18.0, 18.0, 18.0] | [257, 287, 313, 309] |
p03076 | u767432305 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\nlist = []\nlist.append(a)\nlist.append(b)\nlist.append(c)\nlist.append(d)\nlist.append(e)\n\nfor i in range(5):\n for j in range(i,5):\n if int(list[i])%10 != 0 and int(list[i])%10<int(list[j])%10:\n temp ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s033179506', 's716908696', 's567096120'] | [3064.0, 3064.0, 3064.0] | [17.0, 18.0, 17.0] | [541, 573, 589] |
p03076 | u768896740 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = []\nb = []\nmin = 10\nminutes = 0\n\nfor i in range(5):\n a.append(int(input()))\n if 0 < a[i] % 10 < min:\n min = a[i] % 10\n min_index = i\n else:\n min_index = 1\n\na[4], a[min_index] = a[min_index], a[4]\n\nfor i in range(4):\n if a[i] % 10 != 0:\n minutes += (a[i] // 1... | ['Wrong Answer', 'Accepted'] | ['s717795234', 's658418963'] | [3064.0, 3064.0] | [18.0, 18.0] | [379, 322] |
p03076 | u777215291 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import math\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nA = a % 10\nB = b % 10\nC = c % 10\nD = d % 10\nE = e % 10\nL = list[A,B,C,D,E]\nmin_ = L.index(min(L)\nA = math.ceil(a)\nB = math.ceil(b)\nC = math.ceil(c)\nD = math.ceil(d)\nE = math.ceil(e)\nm = A+B+C+D+E\nif m... | ['Runtime Error', 'Accepted'] | ['s885865959', 's771367604'] | [3060.0, 3064.0] | [17.0, 17.0] | [477, 530] |
p03076 | u777283665 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['l = [int(input()) for i in range(5)]\n\nimport math\n\nsum([math.ceil(i/10) * 10 for i in l]) - max([math.ceil(i/10) * 10 - i for i in l])', 'l = [int(input()) for i in range(5)]\n\nimport math\n\nprint(sum([math.ceil(i/10) * 10 for i in l]) - max([math.ceil(i/10) * 10 - i for i in l]))'] | ['Wrong Answer', 'Accepted'] | ['s633242474', 's649428879'] | [2940.0, 2940.0] | [17.0, 17.0] | [134, 141] |
p03076 | u778700306 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import itertools\n\ns = [int(input()) for _ in range(5)]\n\nres = 1 << 28\nfor ss in itertools.permutations(s):\n tmp = 0\n tmp += (ss[0] + 9) // 10\n tmp += (ss[1] + 9) // 10\n tmp += (ss[2] + 9) // 10\n tmp += (ss[3] + 9) // 10\n tmp += ss[4]\n res = min(res, tmp)\n\nprint(res)\n', 'import iter... | ['Wrong Answer', 'Accepted'] | ['s491421118', 's710444606'] | [3060.0, 3060.0] | [17.0, 18.0] | [288, 308] |
p03076 | u779170803 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ["INT = lambda: int(input())\nINTM = lambda: map(int,input().split())\nSTRM = lambda: map(str,input().split())\nSTR = lambda: str(input())\nLIST = lambda: list(map(int,input().split()))\nLISTS = lambda: list(map(str,input().split()))\ndef do():\n a=INT()\n b=INT()\n c=INT()\n d=INT()\n e=INT()\n ct=0\... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s759456588', 's860849806', 's381575166'] | [3064.0, 3064.0, 3064.0] | [18.0, 18.0, 17.0] | [521, 546, 574] |
p03076 | u783420291 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [0]*5\na_one = [0]*5\na_ten = [0]*5\nfor i in range(5):\n a[i] = int(input())\n a_one[i] = a[i]%10\n a_ten[i] = abs(10-a_one[i])\nmin_one_index = a_one.index(min(a_one))\nans = 0\nfor i in range(5):\n if i != min_one_index:\n ans += a[i]+a_ten[i]\n else :\n ans += a[i]\nprint(ans)', '... | ['Wrong Answer', 'Accepted'] | ['s506736967', 's892435215'] | [3064.0, 3064.0] | [17.0, 17.0] | [300, 345] |
p03076 | u790828969 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['menu = [int(input()) for i in range(5)]\ndist = list(map(lambda x: x%10, menu))\nidx = dist.index(min(dist))\ndist.pop(idx)\ninv = list(map(lambda x: 10-x, dist))\ncost = sum(menu) + sum(inv)\nprint(cost)', 'dish = [0]*5\ninv = [0]*5\n\nfor i in range(5):\n dish[i] = int(input())\n inv[i] = (10-dish[i]%10)%10\n \n... | ['Wrong Answer', 'Accepted'] | ['s393862248', 's893075869'] | [3060.0, 2940.0] | [17.0, 17.0] | [198, 153] |
p03076 | u794543767 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import numpy as np\nimport itertools\ndata = [int(input()) for _ in range(5)]\n\nfor orders in itertools.permutations(data):\n current_time = 0\n next_arrival = 0\n for i in range(5):\n next_arrival = current_time + orders[i]\n current_time = np.ceil(next_arrival/10).astype(int) *10\nprint(next... | ['Wrong Answer', 'Accepted'] | ['s359845202', 's599556983'] | [12508.0, 12448.0] | [153.0, 158.0] | [317, 369] |
p03076 | u795689468 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A = [int(input()) for i in range(5)]\nma = max([10-a%10 for a in A])\nA = [a if a%10 == 0 else a+10-a%10 for a in A]\nprint(sum(A)-ma)\n', 'A = [int(input()) for i in range(5)]\nma = max([0 if a%10 == 0 else 10-a%10 for a in A])\nA = [a if a%10 == 0 else a+10-a%10 for a in A]\nprint(sum(A)-ma)\n'] | ['Wrong Answer', 'Accepted'] | ['s934416472', 's447073462'] | [2940.0, 2940.0] | [18.0, 17.0] | [132, 152] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.