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
u061975638
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())\na1 = 10 - a%10\nb1 = 10 - b%10\nc1 = 10 - c%10\nd1 = 10 - d%10\ne1 = 10 - e%10\nl = [a1,b1,c1,d1,e1]\n\nfor i in range(5):\n if l[i] == 10:\n l[i] = 0\n \ndef max(x,y):\n if x <= y:\n return y\n else:\n return x\nf ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s434724533', 's553201030', 's735480151', 's665030354']
[3064.0, 3064.0, 3064.0, 3064.0]
[20.0, 17.0, 17.0, 17.0]
[397, 312, 387, 407]
p03076
u065079240
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 ...
['\nimport numpy as np\nA = np.zeros(5)\nB = np.zeros(5)\ntime = 0\nfor i in range(5):\n A[i] = int(input())\n if A[i] % 10 == 0:\n B[i] = 10\n else:\n B[i] = A[i] % 10\n\nfor j in range(5):\n for k in range(j, 4):\n if B[k] > B[k + 1]:\n B[k], B[k + 1] = B[k + 1], B[k]\n ...
['Wrong Answer', 'Accepted']
['s095835600', 's181069327']
[12424.0, 12408.0]
[153.0, 147.0]
[519, 380]
p03076
u067641233
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\ntotal = a+b+c+d+e\nprint(total)', "a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\n\norders = [a,b,c,d,e]\n\ndef nokori(az, sitei):\n\ttmp = []\n\tflag = 0\n\tfor a in az:\n\t\tif a ...
['Wrong Answer', 'Accepted']
['s417331352', 's580995876']
[3060.0, 3064.0]
[18.0, 18.0]
[116, 738]
p03076
u069172538
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(0,5):\n a.append(int(input()))\ns=0\nimport math\nfor i in a:\n s=s+(math.ceil(i/10))*10\nx=10\nfor i in a:\n if i%10==0:\n pass\n elif i%10<x:\n x=i%10\nprint(x)\nprint(s-10+x)', 'a=[]\nfor i in range(0,5):\n a.append(int(input()))\ns=0\nimport math\nfor i in a:\n s=s+(math.ceil(i/10...
['Wrong Answer', 'Accepted']
['s810378721', 's649448703']
[3064.0, 3060.0]
[17.0, 18.0]
[194, 185]
p03076
u070163338
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\ndish = [a,b,c,d,e]\ntime = [0,0,0,0,0]\nreg = 0\nmini = 10\n\nfor l in range(5):\n num = dish[l]%10\n print(num)\n if num == 0:\n time[l] = dish[l]\n else:\n time[l] = (dish[l]//10+1)*10\n \n if num != 0 and num ...
['Wrong Answer', 'Accepted']
['s671992390', 's164420950']
[3064.0, 3064.0]
[17.0, 17.0]
[629, 633]
p03076
u070351417
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\ninput_mins = []\ninput_nums = 5\ntotal_mins = 0\n\nfor i in range(input_nums):\n input_min = input()\n input_mins.append(input_min[::-1])\n input_mins.sort(reverse=True)\n\nfor i in range(input_nums):\n input_mins[i] = int(input_mins[i][::-1])\n\nfor i in range(input_nums-1):\n amari = input_mins[...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s010608356', 's475441717', 's852259509', 's744036799']
[3064.0, 3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0, 17.0]
[459, 399, 442, 474]
p03076
u070449185
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())\ncook_time = [A,B,C,D,E]\nmuda = [10-i%10 for i in cook_time]\ncook_time_muda = list(zip(cook_time,muda))\ncook_time_muda.sort(key=lambda x:x[1])\ntime = 0\nfor i in cook_time_muda:\n time = time + i[0]+i[1]\ntime = time - i[1...
['Wrong Answer', 'Accepted']
['s261034902', 's194038727']
[3064.0, 3064.0]
[17.0, 17.0]
[319, 337]
p03076
u072949274
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\nfor _ in range(4):\n _num = int(input())\n ans += _num // 10 * 10\n if _num % 10 > 0:\n ans += 10\nans += int(input())\n\nprint(ans)\n\n', 'ans = 0\nans2 = 0\nmin3 = 10\nfor _ in range(5):\n _num = int(input())\n ans += _num // 10 * 10\n if _num % 10 > 0:\n ans2 += 1\n ...
['Wrong Answer', 'Accepted']
['s691131502', 's394579046']
[2940.0, 2940.0]
[17.0, 18.0]
[151, 255]
p03076
u075303794
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\nl = [int(input()) for _ in range(5)]\n\nsorted(l, key= lambda x: (x-1)%10, reverse = True)\nans = 0\n\nfor i in range(4):\n ans += math.ceil(l[i] / 10) * 10\nans += l[-1]\n\nprint(ans)\n ', 'import math\nl = [int(input()) for _ in range(5)]\n\nl = sorted(l, key= lambda x: (x-1)%10, reverse = True)\nans...
['Wrong Answer', 'Accepted']
['s120200495', 's145290626']
[3060.0, 3060.0]
[17.0, 17.0]
[191, 195]
p03076
u075551644
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 ...
['x = [int(input()) for _ in range(5)]\nt = 0\nfor i in range(x):\n t = ((t + 9) // 10) * 10\n t += x[i]\nprint(t)', 'from itertools import permutations\ndef solve(perm):\n t = 0\n for i in perm:\n t = ((t + 9) // 10) * 10\n t += x[i]\n return t\n\nx = [int(input()) for _ in range(5)]\nans = min([solve(perm)...
['Runtime Error', 'Accepted']
['s785230029', 's955779574']
[2940.0, 3060.0]
[17.0, 18.0]
[109, 257]
p03076
u076306174
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 ...
['k=[]\n\nk.append(input())\nk.append(input())\nk.append(input())\nk.append(input())\nk.append(input())\n\nm_num=9\nm_index=0\nfor i in range(len(k)):\n if int(k[i][-1]) != 0:\n if int(k[i][-1]) < m_num:\n m_num = int(k[i][-1])\n m_index = i\n \nprint(m_num,m_index)\nsum=0\nfo...
['Wrong Answer', 'Accepted']
['s472742707', 's698475213']
[3064.0, 3064.0]
[17.0, 17.0]
[430, 432]
p03076
u076512055
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\nnum = list()\nfor ii in range(5):\n num.append(int(input()))\n \nfor ii in range(5):\n num[ii] = 10 * math.ceil(num[ii]/10)\n \nprint(sum(num))', 'import math\n\nnum_0 = list()\nfor ii in range(5):\n num_0.append(int(input()))\n\nnum_1 = list(range(5))\nfor ii in range(5):\n num_1[ii]...
['Wrong Answer', 'Accepted']
['s949616379', 's584184210']
[3060.0, 3064.0]
[17.0, 17.0]
[161, 303]
p03076
u076996519
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)]\nnum = l.index(min(l))\nsum = 0\nfor i in range(5):\n if i != num:\n ans += -(-l[i] // 10)\nprint(ans*10)', "l = [int(input())for i in range(5)]\nl1 = ['']*5\nans = 0\nfor i in range(5):\n l1[i] = l[i]%10\nfor i in range(5):\n ans += -(-l[i]//10)\nprint(ans*10 - 10 ...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s192478091', 's476684486', 's668339831', 's760522491', 's861148811', 's943301138', 's969863781', 's981432052', 's724292618']
[2940.0, 3060.0, 3060.0, 3060.0, 2940.0, 3064.0, 2940.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 18.0, 18.0]
[145, 166, 154, 159, 154, 161, 154, 166, 204]
p03076
u085530099
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 = input()\nb = input()\nc = input()\nd = input()\ne = input()\nmin_l = min(l)\np = [ a,b,c,d,e ]\no = []\nlen_p = len(p)\ntmp_p = ''\nfor i in range(0, len_p):\n if p[i][-1] == min_l:\n tmp_p = int(p.pop(i))\n print(i)\n break\nnew_p = 0\nfor i in p:\n new_p += math.ceil(int(i)/10)*10\nprint...
['Runtime Error', 'Accepted']
['s427484483', 's413086211']
[3064.0, 3064.0]
[18.0, 18.0]
[312, 559]
p03076
u089376182
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 ...
['dish_list = [int(input()) for _ in range(5)]\nlast_num_list = [int(str(dish_i)[-1]) for dish_i in dish_list]\nlast_num_min_index = last_num_list.index(min(last_num_list))\n\nceiling_dish_list = [-10* (-i//10) for i in dish_list]\n\nprint(sum(ceiling_dish_list) - ceiling_dish_list[last_num_min_index] + dish_list[last_...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s252176137', 's684460460', 's310733738']
[3060.0, 3060.0, 3064.0]
[17.0, 18.0, 17.0]
[327, 347, 458]
p03076
u091051505
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 _ in range(5):\n b = int(input())\n t = 10 if b%10 == 0 else b%10\n a.append((t, b))\na.sort()\na.reverse()\nc = 0\nfor i in range(4):\n c += (a[i][1] + (10 - a[i][1] % 10))\nc += a[-1][1]\nprint(c)', 'a = []\nfor _ in range(5):\n b = int(input())\n t = 10 if b%10 == 0 else b%10\n a.a...
['Wrong Answer', 'Accepted']
['s119759026', 's788100186']
[3060.0, 3064.0]
[17.0, 17.0]
[211, 286]
p03076
u094191970
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)]\nt = 0\ncnt_l = []\nfor i in range(5):\n cnt = 0\n while list[i] % 10 != 0:\n list[i] += 1\n cnt += 1\n t += list[i]\n if cnt != 0:\n cnt_l.append(cnt)\nif not cnt:\n cnt.append(0)\nprint(t - max(cnt_l))', 'list = [int(input()) for i in range...
['Runtime Error', 'Accepted']
['s670076629', 's261095049']
[3060.0, 3060.0]
[17.0, 17.0]
[266, 270]
p03076
u098679988
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 = []\nx = 2147483647\nfor i in range(5):\n l.append( int(input()) )\n n = int(l[i]%10)\n if n>0 and n<x:\n x = i\n\nans = 0\nfor i in range(5):\n if i == x:\n ans += l[i]\n elif l[i]%10 != 0:\n ans += int(l[i]/10)*10 +10\n else:\n ans += l[i]\n\nprint(ans)\n\n\n', '#--import...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s235901780', 's676934655', 's664533141']
[3064.0, 3064.0, 3064.0]
[17.0, 19.0, 17.0]
[285, 733, 688]
p03076
u099450021
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())\nsub = miin(m % 10 for m in [a,b,c,d,e] if m % 10 != 0)\ntime = 10 * (ciel(a / 10) + ciel(b / 10)+ ciel(b / 10)+ ciel(b / 10)+ ciel(b / 10)) - (10 - sub)\nprint(time)\n\n', 'import math\n\na = int(input())\nb = int(input())\nc = ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s413251756', 's591155457', 's818550066', 's725330788']
[3060.0, 3060.0, 3060.0, 3064.0]
[17.0, 18.0, 17.0, 17.0]
[250, 268, 263, 301]
p03076
u102278909
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 ...
['# coding: utf-8\n\nimport sys\ninput = sys.stdin.readline\n\ntimes = []\nfor _ in range(5):\n x = int(input())\n times.append([x, ((x + 9) // 10 * 10) - x])\n\ntimes.sort(key=lambda x : x[1])\n\nans = 0\nfor i in range(4):\n ans += times[i][0] + times[i][1]\n\nans += times[-1][0]\n\nprint(times)\nprint(ans)\...
['Wrong Answer', 'Accepted']
['s483335632', 's561840557']
[3064.0, 3060.0]
[17.0, 17.0]
[300, 287]
p03076
u103341055
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 ...
[' \nimport itertools\n\n\n#t1 = time.time()\n\nnum = [int(input()) for _ in range(5)]\n#num2 = [n if n % 10 == 0 else n - (n%10) + 10 for n in num]\n\nN = []\n\nfor i in list(itertools.permutations(range(5))):\n c = 0\n n = 0\n# print(i)\n for j in i:\n c += 1\n # print(j)\n if c == 5:...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s580849732', 's592520522', 's666632666', 's763539688', 's861370857', 's229032508']
[3060.0, 2940.0, 2940.0, 2940.0, 3060.0, 3060.0]
[18.0, 18.0, 17.0, 17.0, 17.0, 18.0]
[510, 265, 294, 294, 282, 556]
p03076
u103743051
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\nm = 9\na = [A, B, C, D, E]\n\nfor i in range(len(a)):\n\n if a[i] % 10 <= m and a[i] % 10 != 0:\n m = a[i] % 10\n\n\nfor j in range(len(a)):\n if a[j] % 10 != 0:\n a[j] = a[j] + (10 - a[j] % 10)\n\nprint(m)\n\nprint(su...
['Wrong Answer', 'Accepted']
['s762329420', 's541064652']
[3064.0, 3064.0]
[17.0, 17.0]
[313, 305]
p03076
u103902792
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)]\ntime = 0\nfor v in l:\n if v %10 == 0:\n time += v\n l.remove(v)\nif l == []:\n print(time)\n return\nm = min(list(map(lambda x:x%10,l)))\nfind_min = False\nfor v in l:\n if v %10 == m && not find_min:\n time += v\n else:\n time += calc_time(v)\nprint(time)\n\nde...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s303348429', 's471481175', 's517276439', 's323603274']
[2940.0, 3060.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0, 18.0]
[342, 224, 336, 242]
p03076
u105124953
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\nsrc = [input() for _ in range(5)]\nk_li = []\nv_li = []\nfor s in src:\n k_li.append(int(s[-1]))\n v_li.append(int(s))\nm = min(k_li)\nflag = False\nsum = 0\nfor k,v in zip(k_li,v_li):\n if k == m and flag == False:\n sum += v\n flag = True\n else:\n sum += math.ceil(v/10...
['Wrong Answer', 'Accepted']
['s710967507', 's470918888']
[3064.0, 3064.0]
[18.0, 18.0]
[318, 426]
p03076
u106103668
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 resolve():\n a = list(int(input()) for _ in range(5))\n mint = 1000\n ans = 0\n for i in range(5):\n ans += math.ceil(a[i]/10)*10\n if a[i]%10 == 0: continue\n mint = min(mint,a[i]%10)\n print(ans+mint-10)\n\nresolve()', 'import math\ndef resolve():\n a = list(int(input()) f...
['Runtime Error', 'Accepted']
['s500994138', 's650166700']
[3060.0, 3060.0]
[18.0, 17.0]
[248, 313]
p03076
u106181248
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 = [int(input()) for i in range(5)]\nm = 9\n\n\nfor i in n:\n if int(str(i)[-1]) < m:\n m = int(str(i)[-1])\n x = i\n\nn.remove(x)\n \nfor i in range(len(n)):\n if n[i]%10 != 0:\n n[i] = n[i] + 10 - int(str(n[i])[-1])\n\nprint(sum(n) + x)', 'n = [int(input()) for i in range(5)]\nm = 10\nx = n[0]\n\n\nf...
['Runtime Error', 'Accepted']
['s624635340', 's405881068']
[3064.0, 3064.0]
[17.0, 17.0]
[334, 370]
p03076
u110580875
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())\nansa=0\nansb=0\nansc=0\nansd=0\nanse=0\n\nif str(a)[-1]=="0":\n ansa=0\nelse:\n ansa=str(a)[-1]\n ansa=10-int(ansa)\n \nif str(b)[-1]=="0":\n ansb=0\nelse:\n ansb=str(b)[-1]\n ansb=10-int(ansb)\n \nif str(c)[-1]=="0":\n ansc=0\ne...
['Wrong Answer', 'Accepted']
['s016469138', 's475317083']
[3064.0, 3064.0]
[17.0, 17.0]
[561, 588]
p03076
u111365362
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()) for _ in range(5)]\na = A % 10\nb = B % 10\nc = C % 10\nd = D % 10\ne = E % 10\nif a == b == c == d == e == 0:\n print(A+B+C+D+E)\nelse:\n print(A-a+B-b+C-c+D-d+E-e-max(10-a,10-b,10-c,10-d,10-e))', 'A,B,C,D,E = [int(input()) for _ in range(5)]\na = A % 10\nb = B % 10\nc = C % 10\nd = D % 1...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s101026941', 's181839291', 's904313627', 's653756079']
[3060.0, 3060.0, 3064.0, 3060.0]
[17.0, 17.0, 18.0, 17.0]
[214, 213, 224, 225]
p03076
u112766430
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 ...
['data = [int(input()) for i in range(5)]\na = 9\nans = 0\nfor i in range(5):\n\ta = min(a,data[i]%10)\n\tans = data[i]//10 +1\nprint((ans-1)*1+a)', 'data = [int(input()) for i in range(5)]\na = 9\nans = 0\nfor i in range(5):\n\ta = min(a,data[i]%10)\n\tans += (data[i]+9)//10\nprint((ans-1)*10+a)', 'data = [int(input()...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s314155527', 's382749003', 's966009010', 's314974517']
[2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 18.0, 17.0]
[136, 139, 137, 170]
p03076
u114648678
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())\nif a%10==0:\n A=int(a//10)\nelse:\n A=int(a//10+1)\nif b%10==0:\n B=b//10\nelse:\n B=b//10+1\nif c%10==0:\n C=c//10\nelse:\n C=c//10+1\nif d%10==0:\n D=d/10\nelse:\n D=d/10+1\nif e%10==0:\n E=e//10\nelse:\n E=e//10+1\nans=int(A+...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s098687973', 's137603604', 's230221676', 's576654910', 's551889278']
[3064.0, 3060.0, 3064.0, 3060.0, 12396.0]
[17.0, 17.0, 17.0, 18.0, 151.0]
[352, 153, 342, 154, 214]
p03076
u121732701
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())\ncount = 10\nnum = 0\nnum1 = 0\n\n\ndef f(x):\n return x +10 - (x%10)\n\n\nlist1 = [a,b,c,d,e]\nfor i in range(5):\n if count > list1[i] % 10 and list1[i]%10!=0:\n count = list1[i]%10\n num = i\n\nfor j in ran...
['Wrong Answer', 'Accepted']
['s723392258', 's826617937']
[3064.0, 3064.0]
[17.0, 17.0]
[406, 480]
p03076
u123745130
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=[input() for _ in range(5)]\nl_1=[]\nfor i in l:\n if i%10!=0:\n l_1.append(((i+9)//10)*10)\n else:l_1.append(i)\nnnn=9999999 \nfor i in range(5):\n num_1=0\n for j in range(5):\n if i==j:\n num_1+=l[j]\n else:num_1+=l_1[j]\n nnn=min(nnn,num_1)\nprint(nnn)', 'l=[int(input()) for _ in range(5)]...
['Runtime Error', 'Accepted']
['s025915197', 's920407956']
[3060.0, 3064.0]
[17.0, 17.0]
[266, 271]
p03076
u123824541
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 ...
['dish_time = [int(input()) for i in range(5)]\nA = dish_time\nrest=[0,0,0,0,0]\n\nfor j in range(5):\n dish_time[j] = dish_time[j]//10*10\n rest[j]= A[j]-dish_time[j]\n\nprint(dish_time)\n\nsum_time = 0\nrest.sort()\n\nfor i in range(5):\n sum_time = sum_time + dish_time[i]\n\nsum_time = sum_time + rest[0]\n...
['Wrong Answer', 'Accepted']
['s406680458', 's821470634']
[3064.0, 3064.0]
[17.0, 18.0]
[317, 466]
p03076
u124025116
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=x%10\n else:\n t=0\n ans += x+t\n n=max(n,t)\nprint(ans)', '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 ans += x + t\n n = max(n,t)\nprint...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s439821970', 's687839453', 's704458021']
[3060.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[139, 159, 161]
p03076
u126823513
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\nmi = min(t % 10 for t in [a, b, c, d, e])\n\n\n\n# print(mi)\n\n# print([wt + (10 - (wt % 10)) if wt % 10 != 0 else wt for wt in [a, b, c, d, e]])\nw = sum([wt + (10 - (wt % 10)) if wt % 10 != 0 else wt for wt in [a, b, c, d, ...
['Wrong Answer', 'Accepted']
['s430891651', 's818015806']
[3064.0, 3064.0]
[17.0, 17.0]
[350, 409]
p03076
u127499732
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,i=0,0\nfor j in range(5):\n s=s+int(input())\n if j==4:\n print(s)\n exit()\n while(s>10*i):\n i+=1\n s=10*(i)\nprint(s)', 'i=0\ns,t=0,10*i\nfor _ in range(5):\n s=s+int(input())\n while(s>t):\n i+=1\n s=t+10\nprint(s)', 's,i=0,0\nfor i in range(5):\n s=s+int(input())\n if i==4:\n print(s)\n...
['Wrong Answer', 'Time Limit Exceeded', 'Wrong Answer', 'Accepted']
['s068873416', 's270412899', 's301817656', 's337728285']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 2104.0, 17.0, 17.0]
[126, 93, 126, 136]
p03076
u131264627
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)]\nans = 0\nfor j in range(5):\n if 0 < l[j] % 10 and min(l % 10) == l[j]:\n ans += l[j]\n elif 0 < l[j] % 10:\n ans += (l[j] // 10 + 1) * 10\n else:\n ans += l[j]\nprint(ans)', 'l = [int(input()) for _ in range(5)]\nans = 0\np = 0\nfor i in l:\n if ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s034082609', 's730122282', 's795516605', 's864466615', 's991362916', 's833609754']
[3060.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0]
[17.0, 18.0, 17.0, 17.0, 18.0, 17.0]
[231, 180, 148, 163, 196, 181]
p03076
u138781768
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())\nif a >= 100:\n a1 = a % 10\nelse:\n a2 = a - 100\n a1 = a2 % 10\nif b >= 100:\n b1 = b % 10\nelse:\n b2 = b - 100\n b1 = b2 % 10\nif c >= 100:\n c1 = c % 10\nelse:\n c2 = c - 100\n c1 = c2...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s046727119', 's354327100', 's330726404']
[3064.0, 2940.0, 3188.0]
[17.0, 17.0, 17.0]
[1225, 14, 1227]
p03076
u143509139
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 ceil\nt = 0\na = [int(input()) for _ in range(5)]\nm = min(map(lambda x: (x - 1) % 10 + 1, a))\nfor c in a:\n print((c + 1) % 10 + 1)\n if (c - 1) % 10 + 1 == m:\n m = c\na.remove(m)\nt += sum(map(lambda x: ceil(x / 10), a))\nt *= 10\nprint(t + m)', 'from math import ceil\nt = 0\na = [in...
['Wrong Answer', 'Accepted']
['s064322694', 's254971898']
[3064.0, 3060.0]
[17.0, 17.0]
[266, 238]
p03076
u144980750
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]\nb=[0,0,0,0,0]\ntime=0\ncnt=0\na[0]=int(input())\na[1]=int(input())\na[2]=int(input())\na[3]=int(input())\na[4]=int(input())\nfor i in range(5):\n b[i]=a[i]%10\nfor i in range(10):\n for j in range(5):\n if b[j]==0:\n time=time+a[j]\n a[j]=0\n cnt=cnt+1\n elif b[j]==(10-i):\n ...
['Wrong Answer', 'Accepted']
['s347078232', 's805600195']
[3064.0, 3064.0]
[17.0, 19.0]
[395, 451]
p03076
u146803137
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 ...
['short = 10\nans = 0\nfor i in range(5):\n n = int(input())\n if short > n%10 and n%10 > 0:\n short = n%10\n ans += (n//10)*10\n if n%10 > 0:\n ans += 10\nprint(short,ans)\nans -= 10 if short > 0 else 0\nprint(ans+short)\n', 'short = 10\nans = 0\nfor i in range(5):\n n = int(input())\n ...
['Wrong Answer', 'Accepted']
['s688647374', 's060577901']
[8996.0, 9100.0]
[30.0, 24.0]
[235, 218]
p03076
u150787983
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\n\ndish_min = []\n \nfor i in range(5):\n dish_min.append(int(input()))\n \np = [i%10 for i in dish_min]\npp = [(i-1)%10 for i in dish_min]\nx = np.argmin(pp)\n\nfor i in range(5):\n if i != x and p[i]:\n \tdish_min[i] += (10 - p[i])\nprint(dish_min)\nprint(sum(dish_min))', 'import numpy as ...
['Wrong Answer', 'Accepted']
['s777440918', 's842195394']
[12404.0, 12396.0]
[148.0, 151.0]
[282, 267]
p03076
u151094297
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 math\n\nA=int(input())\nB=int(input())\nC=int(input())\nD=int(input())\nE=int(input())\n\n\ndishes=np.array([A,B,C,D,E])\ndishes_1=np.array(list(map(lambda x: x%10, dishes)))\n# print(dishes)\n# print(dishes_1)\nlast=0\nans=0\nif np.all(dishes_1==0):\n print(A+B+C+D+E)\nelse:\n dishes=np....
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s003035904', 's334790246', 's575047432', 's211750866']
[12516.0, 14424.0, 12444.0, 12488.0]
[150.0, 151.0, 149.0, 148.0]
[701, 681, 681, 708]
p03076
u151625340
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 = A % 10\nb = B % 10\nc = C % 10\nd = D % 10\ne = E % 10\n\nl = [a,b,c,d,e]\nm = min([i for i in l if i != 0])\nn = l.count(0)\nans = (A//10 + B//10 + C//10 + D//10 + E//10)*10 + m + (5-n)*10\nprint(ans)\n', 'A = int(input()...
['Runtime Error', 'Accepted']
['s535652714', 's608543511']
[3064.0, 3064.0]
[17.0, 17.0]
[282, 351]
p03076
u152614052
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 copy\nli=[int(input()) for i in range(5)]\n\nans=10**9\ntemp=0\n\nfor j in li:\n temp = j\n li2 = copy.copy(li)\n li2.remove(j)\n for k in li2:\n temp += k + (10 - (k % 10))\n ans = min(ans, temp)\n\nprint(ans)', 'import copy\nli=[int(input()) for i in range(5)]\n\nans=10**9\ntemp=0\n\nfo...
['Wrong Answer', 'Accepted']
['s833160906', 's588086948']
[3444.0, 3444.0]
[22.0, 22.0]
[225, 289]
p03076
u152638361
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\nT = [int(input()) for i in range(5)]\nprint(T)\nRest=[0]*5\nfor i in range(5):\n if T[i]%10 == 0:\n Rest[i] = 10\n else: Rest[i] = T[i]%10\nmaxrest = 10-min(Rest)\nans = 0\nfor i in range(5):\n ans += 10*math.ceil(T[i]/10)\nprint(ans-maxrest)', 'import math\nT = [int(input()) for i in ran...
['Wrong Answer', 'Accepted']
['s137434228', 's176331490']
[3064.0, 3064.0]
[17.0, 17.0]
[259, 250]
p03076
u156302018
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())\nmozi = [a, b, c, d, e]\nrup = [round(mozi[i], -1) if mozi[i] % 10 == 0 else\n round(mozi[i] + 5, -1)\n for i in range(len(mozi))]\n\namari = [mozi[i] % 10 for i in range(len(mozi))]\n\nm_r_a = list(zip(mozi, rup, ama...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s147818232', 's605087560', 's537820140']
[3188.0, 3188.0, 3064.0]
[18.0, 18.0, 17.0]
[510, 567, 549]
p03076
u159335277
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\ncosts = [int(x) for x in input().split()]\nans = 1000000000000\nfor x in itertools.permutations([0, 1, 2, 3, 4]):\n c = 0\n for i in range(0, 5):\n c += costs[x[i]]\n if i != 4 && c % 10 != 0:\n c += 10 - c % 10\n ans = min(c, ans)\nprint(ans)', 'import itertools\ncosts = [int(x) for x...
['Runtime Error', 'Runtime Error', 'Accepted']
['s062427070', 's561334027', 's188155213']
[2940.0, 3064.0, 3060.0]
[17.0, 18.0, 19.0]
[265, 266, 269]
p03076
u160659351
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_li = [int(input()) for _ in range(5)]\nrest_li = [_ % 10 for _ in input_li]\n\nmin_li = min(rest_li)\ndel rest_li[rest_li.index(min_li)]\ntotal = 0\n\nfor i in rest_li:\n if i != 0:\n total += 10 - i\n\nprint(sum(input_li) + total)', 'input_li = [int(input()) for _ in range(5)]\nrest_li = [_ % 10 for...
['Wrong Answer', 'Accepted']
['s547033331', 's805580777']
[3060.0, 3060.0]
[17.0, 17.0]
[237, 360]
p03076
u161442663
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 ...
['\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nS=a+b+c+d+e\nA=a%10\nB=b%10\nC=c%10\nD=d%10\nE=e%10\nListN=[]\nListN.append(A)\nListN.append(B)\nListN.append(C)\nListN.append(D)\nListN.append(E)\nListN.sort()\nwhile ListN[0]==0:\n ListN.pop(0)\n ListN.append(0)\nListn=[]\nfor i in ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s149938864', 's188947026', 's568121134']
[3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[479, 457, 467]
p03076
u163320134
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())\nlist=[a,b,c,d,e]\nworst=10\nflag=0\nans=0\nfor i in range(5):\n if list[i]%10 != 0:\n if list[i]%10 < worst:\n worst = list[i]%10\n flag=i\nfor i in range(5):\n if i == flag:\n ans += list[i]\n else:\n ans += (list[i...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s166804888', 's931376009', 's994730271', 's196176218']
[3064.0, 3064.0, 3064.0, 3316.0]
[17.0, 18.0, 17.0, 21.0]
[329, 387, 409, 372]
p03076
u167273718
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 = [int(input()) for _ in range(5)]\nm = []\nT = 0\nfor i in range(5):\n if M[i] % 10 > 0:\n T += M[i]\n T += 10 - M[i] % 10\n m.append(M[i] % 10)\n T -= min(m)\n else:\n T += M[i]\nprint(T)', 'M = [int(input()) for _ in range(5)]\nm = []\nT = 0\nfor i in range(5):\n if M[...
['Wrong Answer', 'Accepted']
['s967761296', 's771203970']
[3060.0, 3060.0]
[17.0, 17.0]
[221, 237]
p03076
u167307651
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())\nx = 0\nlst = [a,b,c,d,e]\nlst2 = []\nfor i in lst:\n if i%10 == 0:\n lst2.append(10)\n else:\n lst2.append(i%10)\nprint(lst2)\nprint(lst2.index(min(lst2)))\ny = lst[lst2.index(min(lst2))]\ndel lst[lst2.index(min(lst2))]\...
['Wrong Answer', 'Accepted']
['s245092387', 's601725007']
[3064.0, 3064.0]
[17.0, 17.0]
[391, 350]
p03076
u167681750
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 ...
['order = [int(input()) for i in range(5)]\ndiff = (sorted(map(lambda x: (x % 10), order)))\ndiff = [i for i in diff if i != 0]\n\nsum_order = sum(list(map(lambda x: -(-x //10), order))) * 10\n\nif diff != []:\n sum_order += diff[0]\n \nprint (sum_order)', 'times = [int(input()) for i in range(5)]\ndiff = [i % 10...
['Wrong Answer', 'Accepted']
['s143510893', 's973014984']
[3060.0, 2940.0]
[18.0, 17.0]
[249, 192]
p03076
u167751176
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 main():\n\tr = [0]*5\n\tr[0] = int(input())\n\tr[1] = int(input())\n\tr[2] = int(input())\n\tr[3] = int(input())\n\tr[4] = int(input())\n\n\ttotal = 0\n\tmod_min = 10\n\n\tfor x in r:\n\t\tdiv = x//10\n\t\ttotal += div*10\n\t\tmod = x%10\n\t\tif mod != 0:\n\t\t\tif mod < mod_min:\n\t\t\t\tmod_min = mod\n\t\t\ttot...
['Wrong Answer', 'Accepted']
['s057662697', 's601009142']
[3188.0, 3064.0]
[19.0, 17.0]
[364, 363]
p03076
u167908302
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 ...
['# coding:utf-8\n\ncooking_time = [int(input()) for i in range(5)]\n\n\ncooking_time = sorted(cooking_time, key=lambda x: x%10, reverse=True)\n#print(cooking_time)\nans = 0\n\nfor i , cooking_time in enumerate(cooking_time):\n \n if i < 4:\n if cooking_time%10 != 0:\n \n ans += cooki...
['Wrong Answer', 'Accepted']
['s058900670', 's842403273']
[2940.0, 3060.0]
[17.0, 19.0]
[758, 762]
p03076
u169138653
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 ...
['lis=[]\nfor i in range(5):\n x=int(input())\n lis.append([x%10,x])\nlis.sort()\nt=0\nfor i in range(4):\n t+=lis[i][1]+10-lis[i][0]\nprint(t+lis[4][1])\n', 'lis=[]\nfor i in range(5):\n x=int(input())\n lis.append([x%10,x])\nlis.sort()\nt=0\nfor i in range(4):\n t+=lis[i,1]+10-lis[i,0]\nprint(t+lis[...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s314516463', 's965214568', 's502981517']
[2940.0, 3060.0, 3060.0]
[18.0, 17.0, 17.0]
[153, 149, 290]
p03076
u170183831
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 ceil\nA = [int(input()) for _ in range(5)]\nA.sort(reverse=True)\ntotal = 0\nfor i in range(4):\n total += ceil(A[i] / 10) * 10\ntotal += A[-1]\nprint(total)', 'from math import ceil\nA = [int(input()) for _ in range(5)]\nA.sort(key=lambda a: -a % 10)\ntotal = 0\nfor i in range(4):\n total += ceil(...
['Wrong Answer', 'Accepted']
['s803410911', 's655901064']
[3060.0, 3060.0]
[17.0, 17.0]
[168, 177]
p03076
u170765582
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=sorted(list(map(int,[input()for i in range(5)])),key=lambda x:x%10)\nif ''.join([str(i)[-1]for i in a])=='00000':print(sum(a));quit()\nwhile str(a[0])[-1]=='0':\n a+=[a[0]]\n del a[0]\nprint(a)\nprint(sum([a[0]]+[10*(0--i//10)for i in a[1:]]))", 'a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=i...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s235045226', 's869757161', 's168625556']
[3064.0, 3064.0, 3444.0]
[17.0, 17.0, 29.0]
[241, 204, 232]
p03076
u172035535
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)]\nans = 0\nfor i in a:\n ans += i if i%10 == 0 else i+(10-i%10)\n mod = max(mod,i%10) if i%10 == 0 else max(mod,10-i%10)\nprint(ans-mod)', 'a = [int(input()) for _ in range(5)]\nans,mod = 0,0\nfor i in a:\n ans += i if i%10 == 0 else i+(10-i%10)\n mod = max(mod,i%10) if...
['Runtime Error', 'Accepted']
['s518241783', 's921071632']
[2940.0, 3060.0]
[18.0, 18.0]
[173, 179]
p03076
u172111219
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\n\nls = [int(input()) for _ in range(5)]\n\n\nmax_=0\nfor h in ls:\n if h%10 == 0:\n pass\n else:\n re =10-h\n if re>=max_:\n max_ = re\n\ntime = 0\nfor i in ls:\n if i%10 == 0:\n time += i\n else:\n time += (i//10+1)*10\n\ntime -= max_\n\np...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s169586453', 's185199285', 's523275574', 's809741583', 's224805848']
[12428.0, 12432.0, 12504.0, 3064.0, 12464.0]
[157.0, 151.0, 149.0, 17.0, 147.0]
[306, 304, 231, 257, 303]
p03076
u173178698
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 ...
["dish = [0]*5\ndish = [list(input()) for i in range(len(dish))]\ntime = 0\nsumtime = 0\n\ndish_sort = sorted(dish, key=lambda x:abs(1-int(x[-1])),reverse=True)\ndish_sort = [''.join(dish_sort[i]) for i in range(len(dish))]\ndish_sort = [int(i) for i in dish_sort]\n\nfor i in range(len(dish)-1):\n while dish_sort[i]...
['Wrong Answer', 'Accepted']
['s499734107', 's156490797']
[3064.0, 3064.0]
[17.0, 17.0]
[397, 534]
p03076
u176645218
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 = [A,B,C,D,E]\n\nr = list(map(lambda x:x % 10,l))\nr = [x if x != 0 else 10 for x in r]\n\nindex = r.index(min(r))\n\nans = 0\n\nfor i in range(5):\n\tif i == index:\n\t\tans += l[i]\n\telse:\n\t\tans += (l[i]//10 + 1) * 10\n\npr...
['Wrong Answer', 'Accepted']
['s554325310', 's659939802']
[3064.0, 3064.0]
[17.0, 17.0]
[300, 346]
p03076
u178192749
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)]\nl.sort()\nprint(max(l[0]-40, l[1]-30, [2]-20, l[3]-10, l[4]))', 'l = [int(input()) for i in range(5)]\nl.sort()\nprint(max(l[0], l[1]-10, l[2]-20, l[3]-30, l[4]-40))', 'import math\nl = [int(input()) for i in range(5)]\ne = 10\nfor i in l:\n re = i%10\n if re !=0:\n ...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s108645122', 's905954090', 's641499610']
[2940.0, 2940.0, 3060.0]
[18.0, 17.0, 17.0]
[97, 98, 176]
p03076
u179169725
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\nread = sys.stdin.readline\n\n\ndef read_ints():\n return list(map(int, read().split()))\n\n\ndef read_a_int():\n return int(read())\n\n\ndef read_matrix(H):\n '''\n H is number of rows\n '''\n return [list(map(int, read().split())) for _ in range(H)]\n\n\ndef read_map(H):\n \n retu...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s106912908', 's167819255', 's759638575']
[3064.0, 3064.0, 3316.0]
[17.0, 17.0, 21.0]
[1078, 1103, 1520]
p03076
u183422236
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 ...
['foods = [int(input()) for i in range(5)]\namari = [i % 10 for i in foods]\nkiriage = [-(-i//10) for i in foods]\nprint(sum(kiriage) * 10 - (10 - (10 if max(amari) == 0 else max(1, min(amari)))))', 'foods = [int(input()) for i in range(5)]\nkiriage = [-(-i//10)*10 for i in foods]\namari = [-(-i//10)*10-i for i in food...
['Wrong Answer', 'Accepted']
['s001696577', 's057816159']
[3060.0, 2940.0]
[17.0, 17.0]
[191, 153]
p03076
u185354171
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 ...
['abcde = []\nfor i in range(5):\n abcde.append(int(input()))\nans = sum([(abcde[i]//10+1)*10 for i in range(5)]) + min([abcde[i]%10 for i in range(5) if abcde[i]%10 != 0])-10\nprint(ans)', 'abcde = []\nfor i in range(5):\n abcde.append(int(input()))\nans = sum([-(-abcde[i] // 10)*10 for i in range(5)])\namari = ...
['Runtime Error', 'Accepted']
['s279968414', 's518397903']
[3060.0, 3064.0]
[17.0, 18.0]
[184, 343]
p03076
u185966380
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 = [int(input()) for _ in range(5)]\nA = [str(B[i])[-1] for i in range(5)]\ntemp = A\nlast = A.index(min(temp.remove("0")))\ndiff = [10-int(A[o]) for o in range(5) if (A[o] != "0") and o != last]\nprint(sum(B)+sum(diff))\n', 'B = [int(input()) for _ in range(5)]\nA = [str(B[i])[-1] for i in range(5)]\ntemp = A\nif "...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s521359004', 's646365667', 's289619013']
[3316.0, 3064.0, 3060.0]
[19.0, 18.0, 18.0]
[217, 247, 161]
p03076
u186967328
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\nmemo = [a,b,c,d,e]\n\n\nm = 10\ncnt = 0\nfor i in memo:\n if i % 10 == 0:\n cnt += int(i/10)\n else:\n cnt += int(i/10)+1\n\n if i%10 < m:\n m = i%10\n\nprint(cnt*10-(10-m))', 'a = int(input())\nb...
['Wrong Answer', 'Accepted']
['s408936553', 's230260375']
[3064.0, 3064.0]
[17.0, 17.0]
[275, 291]
p03076
u187233527
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 ...
['foods = [int(input()) for i in range(5)]\ntime = 0\nrest = list(map(lambda x: x % 10, foods))\nfor i in range(5):\n if rest[i] == 0:\n time += foods[i]\n else:\n time += foods[i] - rest[i] + 10\n\nif not all(rest):\n print(time)\nelse:\n print(time - 10 + min([i for i in rest if i != 0]))', '...
['Wrong Answer', 'Accepted']
['s205871496', 's657384993']
[3060.0, 3060.0]
[17.0, 17.0]
[302, 299]
p03076
u188138642
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)]\nmn = float('inf')\n\nfor i in nums:\n if i%10!=0:\n mn = min(mn, i%10)\nif mn == float('inf'):\n mn = 0\n\nprint(sum(list(map(lambda x: int(math.ceil(x/10)*10), nums)))-10+mn)\n", "import math\nnums = [int(input()) for _ in range(5)]\nmn = float('inf')\n\nfor i in...
['Runtime Error', 'Accepted']
['s229204693', 's178561615']
[9128.0, 9112.0]
[27.0, 31.0]
[221, 234]
p03076
u189479417
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\nMIN = 0\nans = 0\nfor i in (A,B,C,D,E):\n if i % 10 != 0:\n MIN = min(MIN, i % 10)\n ans += i - i % 10 + 10\n else:\n ans += i\nans -= MIN\nprint(ans)', 'A = int(input())\nB = int(input())\nC = int(i...
['Wrong Answer', 'Accepted']
['s739263585', 's447410754']
[3064.0, 3064.0]
[17.0, 17.0]
[254, 260]
p03076
u189575640
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 exit\n# A,B,C = [int(n) for n in input().split()]\n# N = int(input())\nA = [0]*5\nlast = 128\n\nfor _ in range(5):\n A[_] = int(input())\n if(A[_]%10 != 0 and last%10 > A[_]%10):\n last = A[_]\nans = 0\nonce = False\nfor a in A:\n if(a == last and not once):\n once = True\n ...
['Wrong Answer', 'Accepted']
['s593043759', 's796135080']
[3064.0, 3064.0]
[17.0, 17.0]
[494, 486]
p03076
u191874006
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 ...
['#!/usr/bin/env python3\n#ABC123 B\n\nLI = [int(input()) for _ in range(5)]\nLI2 = [LI[i] % 10 for i in range(5)]\n\nx = [(LI[i],LI2[i]) for i in range(5)]\n#print(x)\n\nans = 0\nx = sorted(x, key = lambda x:x[1],reverse = True)\nfor i in range(5):\n if x[i][1] == 0:\n t = x[i]\n x.remove(t)\n ...
['Wrong Answer', 'Accepted']
['s749414102', 's628884797']
[3064.0, 3064.0]
[17.0, 17.0]
[409, 466]
p03076
u193927973
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 ...
['mino=10\nans=0\nfor i in range(5):\n x=int(input())\n if x%10==0:\n ans+=x\n else:\n if mino > x%10:\n mino = x%10\n ans+=x+x%10\nans=ans-(10-mino)\nprint(ans)\n ', 'mino=10\nans=0\nfor i in range(5):\n x=int(input())\n if x%10==0:\n ans+=x\n else:\n ans+=x+10-x%10\n if mino > x%10:\n ...
['Wrong Answer', 'Accepted']
['s469583449', 's777057914']
[2940.0, 2940.0]
[17.0, 17.0]
[170, 168]
p03076
u194405898
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\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\nins = np.zeros(5)\nins[0] = a\nins[1] = b\nins[2] = c\nins[3] = d\nins[4] = e\n\nls = np.zeros(5)\nls[0] = a%10\nls[1] = b%10\nls[2] = c%10\nls[3] = d%10\nls[4] = e%10\nx = np.argsort(ls)\n\nans = 0\nfor ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s339372556', 's757294079', 's541927020']
[13536.0, 12504.0, 12504.0]
[151.0, 153.0, 152.0]
[454, 460, 531]
p03076
u194440952
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\n# -*- coding: utf-8 -*-\nbox = []\nfor i in range(0,5):\n box.append(int(input()))\namari = []\nfor i in range(0,5):\n amari.append(box[i] % 10)\nfor i in range(0,5):\n if amari[i] ==0:\n amari[i] = 100\n else:\n pass\nsumtime = 0\nbox4 = box[4]\nboxmin = box[amari.index(min(amari))]\nbox...
['Runtime Error', 'Runtime Error', 'Accepted']
['s113248801', 's196198101', 's877873446']
[3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[525, 525, 523]
p03076
u194894739
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 ceil\ntime_list = [int(input()) for i in range(5)]\nx_list = []\nfor i in time_list:\n x_list.append(i % 10)\n i = ceil(i / 10) * 10\nif max(x_list) == 0:\n print(sum(time_list))\nelse:\n print(sum(time_list) - 10 + max(x_list))\n', 'from math import ceil\ntime_list = [int(input()) for i ...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s379719270', 's475441340', 's642903182', 's644838119', 's708671556', 's959732385', 's950702363']
[2940.0, 3060.0, 3060.0, 3060.0, 2940.0, 3060.0, 3060.0]
[18.0, 17.0, 18.0, 17.0, 17.0, 18.0, 18.0]
[249, 348, 346, 357, 242, 267, 362]
p03076
u198624562
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(i) for i in input().split()] \nsum = 0;\nres = 0; \ntemp = 0;\nnum = 0;\nfor i in range(5):\n if(a[i]%10==0):\n sum+=a[i]\n else:\n temp = (a[i]%10 +1)*10-a[i];\n if temp>res:\n sum = sum + res \n res =temp\n sum+=a[i]\n else:\n sum = sum+a[i]+temp\nprint(sum)\n ', 'a2, b, ...
['Runtime Error', 'Accepted']
['s571121791', 's972167620']
[3060.0, 3064.0]
[18.0, 17.0]
[290, 375]
p03076
u200346982
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 \ns = 0\nfor i in range(5):\n a = int(input())\n if i != 4:\n a = int(math.ceil(a / 10) * 10)\n print(a)\n s += a\n \nprint(s)', 'import math\n \ns = 0\nfor i in range(5):\n a = int(input())\n if i != 4:\n a = int(math.ceil(a / 10) * 10)\n s += a\n \nprint(s)', 'import math\n\ns =...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s061304082', 's143289858', 's807565588', 's813699735', 's659214151']
[3060.0, 2940.0, 2940.0, 3064.0, 3064.0]
[20.0, 17.0, 17.0, 17.0, 17.0]
[142, 131, 104, 289, 293]
p03076
u200527996
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 ...
['inp = []\ntmp = 9\nans = 0\nfor _ in range(5):\n inp.append(input())\nfor i in range(5):\n if tmp > int(inp[i][-1]) and int(inp[i][-1]) != 0:\n tmp = int(inp[i][-1])\n temp = i\n\nlast = inp.pop(temp)\nprint(last)\nfor j in inp:\n print(ans)\n if j[-1] == "0":\n ans += int(j)\n els...
['Runtime Error', 'Accepted']
['s261750752', 's335801420']
[3064.0, 3064.0]
[17.0, 17.0]
[369, 352]
p03076
u201489353
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\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\narray = np.array([a, b, c, d, e])\nrlist = [a % 10, b % 10, c % 10, d % 10, e % 10]\nvalue = 0\nfor i in range(0, 4):\n tmpr = rlist[i] % 10\n if tmpr != 0 and 10 - tmpr > value:\n value = 10 -...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s080227842', 's663763895', 's880376462', 's535771084']
[20384.0, 12504.0, 12508.0, 12468.0]
[335.0, 147.0, 147.0, 152.0]
[605, 590, 394, 577]
p03076
u202826462
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\nfood = [int(input()) for i in range(5)]\n\nfor i in range(4):\n for j in range(i + 1, 5):\n if food[i] % 10 < food[j] % 10:\n sub = food[i]\n food[i] = food[j]\n food[j] = sub\n\nans = 0\nfor i in range(4):\n ans += math.ceil(food[i] / 10) * 10\nans += food[4...
['Wrong Answer', 'Accepted']
['s843029000', 's243995445']
[3064.0, 3064.0]
[18.0, 17.0]
[318, 298]
p03076
u206787454
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 = [a-a%10+10 if a % 10 != 0 else a for a in A]\ndiff = [(b-a) for a,b in zip(a,b)]\nprint(sum(B) - max(diff))', 'A = [int(input()) for i in range(5)]\n\nB = [a-a%10+10 if a % 10 != 0 else a for a in A]\ndiff = [(b-a) for a,b in zip(A,B)]\nprint(sum(B) - max(diff))']
['Runtime Error', 'Accepted']
['s848230992', 's535186250']
[2940.0, 2940.0]
[17.0, 17.0]
[224, 224]
p03076
u208713671
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\nmono = [A,B,C,D,E]\namari = [A%10,B%10,C%10,D%10,E%10]\nminamari = min(amari)\njun = []\n\nfor i in range(5):\n if amari[i] == 0:\n jun.insert(0,mono[i])\n elif (amari[i] > 0)and(amari[i]==minamari):\n jun.insert(-1,...
['Wrong Answer', 'Accepted']
['s663211945', 's138626162']
[3064.0, 3064.0]
[17.0, 17.0]
[450, 464]
p03076
u209275335
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,lia = [],[]\ntotal = 0\nfor i in range(5):\n a = input()\n li.append(a)\nfor i in range(5):\n lia.append(li[i][-1])\nlib = [int(s) for s in lia]\nb = lib.count(0)\nfor i in range(b):\n lib.remove(0)\nfor i in range(5):\n total += (int(li[i])//10+1)*10\ntotal -= 10*(1+b)\nif len(lib) >= 1:\n total...
['Wrong Answer', 'Accepted']
['s116602310', 's591286012']
[3064.0, 3064.0]
[18.0, 17.0]
[340, 414]
p03076
u209619667
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 ...
['p = 9\nc = 0\nb = 0\nA = []\nfor _ in range(5):\n A.append(int(input())) \nfor a in A:\n b = a\n if a % 10 == 0:\n b = 9\n p = min(p,b%10)\n if a%10 == 0:\n pass\n else:\n a = (((a // 10)+1)*10)\n print(a)\n c += a\nprint(c+p-10)', 'p = 9\nc = 0\nA = []\nfor _ in range(5):\n A.append(int(input())) \...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s140085566', 's538202718', 's954092112']
[3064.0, 3060.0, 3064.0]
[18.0, 17.0, 17.0]
[229, 204, 241]
p03076
u211259428
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 _ in range(5):\n a.append(int(input()))\nb =[]\nc = []\nfor i in range(5):\n b[i] = a[i]\nfor i in range(5):\n while b[i] > 10:\n \tb[i] = b[i] - 10\n if min(b[i]) = 10:\n return sum(a)\n else:\n for i in range(5):\n \tif b[i] = 10:\n c[i] = a[i]\n else:\n c[i] = a[...
['Runtime Error', 'Accepted']
['s859365961', 's536711885']
[2940.0, 3064.0]
[17.0, 17.0]
[438, 344]
p03076
u213497190
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 ...
['# coding: utf-8\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nAc=((a//10)+1)*10\nBc=((b//10)+1)*10\nCc=((c//10)+1)*10\nDc=((d//10)+1)*10\nEc=((e//10)+1)*10\nAf=a%10\nBf=b%10\nCf=c%10\nDf=d%10\nEf=e%10\n\nif max(Af,Bf,Cf,Df,Ef)==Af:\n print(a+Bc+Cc+Dc+Ec)\n \nelif max(Af,Bf,Cf,Df,E...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s126518251', 's510438359', 's594570535', 's874481721', 's613479536']
[3064.0, 3064.0, 3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[498, 490, 498, 519, 538]
p03076
u215315599
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\nf = open('input.txt','r')\nsys.stdin = f\n\nimport math\n\ntimes = [0]*5\nfor i in range(5):\n times[i] = int(input())\n\n\nmini = 9\nidx = 9\nfor time in times:\n if time%10 < mini and time%10 > 0:\n mini = min(mini,time%10)\n idx = times.index(time)\n\ntotal = 0\nfor i in ...
['Runtime Error', 'Accepted']
['s974246988', 's671619677']
[3064.0, 3060.0]
[17.0, 17.0]
[464, 403]
p03076
u217582166
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)]\nmenu_per = [j % 10 for j in menu]\nans = 0\nfor _ in range(len(menu)):\n index = menu_per.index(max(menu_per))\n if ans % 10 == 0:\n ans += menu[index]\n else:\n tmp = int(ans % 10)\n ans += (10 - tmp)\n ans += menu[index]\n menu_per.pop(index)\n menu.pop(ind...
['Wrong Answer', 'Accepted']
['s194546409', 's821120358']
[3060.0, 3060.0]
[17.0, 17.0]
[325, 256]
p03076
u217940964
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())\nk = int(input())\n\nl = [a, b, c, d, e]\nd = list()\n\nfor i, x in enumerate(l[:-1]):\n l2 = l[i+1:]\n for y in l2:\n d.append(y-x)\n\nif max(d) <= k:\n print('Yay!')\nelse:\n print(':(')", 'A = input()\nB = i...
['Runtime Error', 'Accepted']
['s612587234', 's137701164']
[3064.0, 3064.0]
[17.0, 17.0]
[278, 388]
p03076
u219417113
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 _ in range(5)]\n\na = [(x//10)*10 for x in li]\nb = [x%10 for x in li]\n\nprint(sum(a)+min(b))\n', "def main():\n import sys\n input = sys.stdin.readline\n ans = 0\n a = 10**3\n for i in range(5):\n x = int(input())\n ans += ((x + 9) // 10) * 10\n aa = x % 10...
['Wrong Answer', 'Accepted']
['s861110347', 's715207185']
[2940.0, 3064.0]
[17.0, 17.0]
[113, 360]
p03076
u220345792
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 i in range(5):\n l.append(input())\n\nans = 0\nif int(l[0][-1]) <= int(l[1][-1]):\n min_val = l[0]\n ans += (-(-int(l[1])//10))*10\nelse:\n min_val = l[1]\n ans += (-(-int(l[0])//10))*10\n \nfor i in range(2, 5):\n if min_val[-1] <= int(l[i][-1]):\n ans += (-(-int(l[i])//10))*10\n else:\n an...
['Runtime Error', 'Accepted']
['s064335107', 's962641205']
[3064.0, 3064.0]
[17.0, 18.0]
[390, 383]
p03076
u222859507
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 ...
["print('Enter values!!')\nabc = int(input())\narc = int(input())\nagc = int(input())\napc = int(input())\natc = int(input())\n\nfood_time = [abc, arc, agc, apc, atc]\nsort_time = [0, 0, 0, 0, 0]\ntotal_time = 0\n\n\nfor i in range(5):\n sort_time[i] = food_time[i] % 10\n if food_time[i] % 10 == 0:\n total...
['Wrong Answer', 'Accepted']
['s049749725', 's262221215']
[3064.0, 3064.0]
[17.0, 17.0]
[562, 563]
p03076
u223646582
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\nprint((A//10)*10 + (B//10)*10 + (C//10)*10 + (D//10)*10 + (E//10)*10 + min(A%10, B%10, C%10, D%10, E%10) -10)', 'A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\n \nprint(((A+9)//10)*10...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s265733052', 's502941515', 's154397649']
[3060.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[195, 216, 250]
p03076
u225388820
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)]\nans=0\nb=sorted([a[i]%10 for i in range(5)])\nfor i in range(5):\n print(ans)\n ans+=((a[i]+9)//10)*10\nfor i in range(5):\n if b[i]!=0:\n ans+=b[i]-10\n break\nprint(ans)', 'a=[int(input()) for i in range(5)]\nans=0\nb=sorted([a[i]%10 for i in range(5)])\nfo...
['Wrong Answer', 'Accepted']
['s283712911', 's354436258']
[3060.0, 3060.0]
[17.0, 18.0]
[220, 221]
p03076
u225627575
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 str = input()\n A.append( int(str) )\n\nmin = 9\nnum = 0\n for i in range(len(A)):\n if min > A[i]%10 and A[i] % 10 != 0:\n min = A[i]%10\n num = i\n \nans = 0\nfor i in range(5):\n ans = ans + int(A[i]/10)\nans = ans + A[num] % 10\n\nprint(ans)\n', 'A = []\nfor i in ...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s018884378', 's663571086', 's273319315']
[2940.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[279, 286, 298]
p03076
u226912938
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\n\nX = [int(input()) for _ in range(5)]\nY = np.array(X) % 10\n\nmax_y = max(Y)\nc = np.sum(Y!=0)\n\nans = sum(X) + (c*10 -sum(Y)) - (10-max_y)\nprint(ans)', 'K = [str(input()) for _ in range(5)]\n\nL = []\n\nfor k in K:\n if int(k[-1]) == 0:\n pass\n else:\n L.append(int(k[-1])...
['Wrong Answer', 'Accepted']
['s075534328', 's002521363']
[12448.0, 3060.0]
[148.0, 17.0]
[165, 275]
p03076
u228223940
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 ...
['#c = [list(map(int,input().split())) for _ in range(5)]\nc = [int(input()) for _ in range(5)]\n\nlast = 10\n\nfor i in range(5):\n if c[i][0] % 10 == 0:\n continue\n else:\n if last > c[i][0] % 10:\n last = c[i][0] % 10\n idx = i\n \nans = 0\n\n\nfor i in range(5):\n i...
['Runtime Error', 'Accepted']
['s688887130', 's652373601']
[3064.0, 3064.0]
[17.0, 17.0]
[489, 421]