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
u228592109
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 i in range(5)]\n\na = 10\ny = 0\nfor i in range(5):\n s = int(l[i]) % 10\n if a > s & s != 0:\n a = s\n y = i\n\nsum = 0\nfor i in range(5):\n if y == i:\n sum += int(l[y])\n else:\n sum += int(l[i])\n sum += (10 - (int(l[i])%10))\nprint(sum)', 'l = [input() for i in range(5)]\n\na...
['Wrong Answer', 'Accepted']
['s748258184', 's694120673']
[3064.0, 3064.0]
[19.0, 17.0]
[261, 293]
p03076
u232202715
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 numpy import array, argmax, ones\n\nInRange = 5\n\n\na_e = array([int(input()) for i in range(InRange)])\n\n\na_e10 = 10 - a_e % 10\na_e10[a_e10 == 10] = 0\n\nsum_index = ones(InRange, dtype=bool)\nsum_index[argmax(a_e10)] = False\n\nsum_time = a_e.sum() + a_e10[sum_index].sum()', '# 2019/04/06\n\nfrom numpy imp...
['Wrong Answer', 'Accepted']
['s173502044', 's135014465']
[23752.0, 12492.0]
[315.0, 152.0]
[318, 349]
p03076
u236193715
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 up(x):\n\treturn x+10*(x%10!=0)-x%10\n\n\n\nA=int(input())\nB=int(input())\nC=int(input())\nD=int(input())\nE=int(input())\n\nl=[A,B,C,D,E]\n\nm=np.array([i%10+10*(i%10==0) for i in l])\na=np.argmin(m)\nout=0\nfor i in range(5):\n\tif(i==a):\n\t\tout+=l[i]\n\telse:\n\t\tout+=up(l[i])\t\n\nprint(out)', 'import num...
['Runtime Error', 'Accepted']
['s331029591', 's696579580']
[3064.0, 21416.0]
[17.0, 314.0]
[274, 301]
p03076
u238948075
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\ntime = [[a, a%10], [b, b%10], [c, c%10], [d, d%10], [e, e%10]]\nans = 0\n\nfor i in range(5):\n\tif time[i][1] == 0:\n\t\ttime[i][1] = 10\n\t\t\ntime = sorted(time, key = lambda x:x[1], reverse = True)\n\nfor i in range(4):\n\...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s638738791', 's835048674', 's223995350']
[3064.0, 3064.0, 3064.0]
[18.0, 17.0, 18.0]
[360, 384, 360]
p03076
u239204773
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=[]\nY = []\nfor i in range(5):\n x = int(input())\n y = x % 10\n A.append((y,x))\n Y.append(y)\n\nA = sorted(A)\nsum = 0\nif Y[0] == Y[1] and Y[1] == Y[2] and Y[2] == Y[3] and Y[3] == Y[4] :\n for i in range(len(A)):\n y,x = A[i]\n A[i] = (x,y)\n\nfor i in range(len(A)):\n y,x = A[le...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s050581863', 's100943384', 's206952430', 's218858659', 's258130663', 's280274549', 's315977940', 's424380554', 's497923639', 's512902237', 's652922458', 's693181369', 's709675561', 's767971494', 's824105749', 's342102660']
[3064.0, 3064.0, 3064.0, 3064.0, 3060.0, 3060.0, 3064.0, 3060.0, 3060.0, 2940.0, 3060.0, 3064.0, 3060.0, 3060.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 21.0, 18.0, 17.0, 17.0, 17.0]
[399, 539, 233, 539, 239, 271, 229, 238, 236, 234, 233, 539, 238, 239, 310, 311]
p03076
u243572357
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)]\n\nans = 0\nmin_div = 10\nfor i in l:\n ans += 10 * (i + 10 - 1) //10\n min_div = min(min_div, i % 10)\nprint(ans - (10 - min_div))', 'l = [int(input()) for _ in range(5)]\n\nans = 0\nmin_div = 10\nfor i in l:\n ans += 10 * (i + 10 - 1) //10\n if i % 10 != 0:\n \tmin_div = mi...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s031814486', 's119495702', 's271947179']
[9096.0, 9100.0, 9088.0]
[27.0, 27.0, 31.0]
[163, 183, 185]
p03076
u244416763
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(len(a)):\n a[i] = int(input())\nfor i in range(0,len(a)-1):\n for j in range(len(a)-1,i,-1):\n if(a[j-1]%10 < a[j]%10):\n temp = a[j]\n a[j] = a[j-1]\n a[j-1] = temp\nfor i in range(len(a)):\n if(a[i]%10 != 0 and i != len(a)-1):\n a[i] = a[i]+(10 - a[i]%10)\nprint(sum...
['Wrong Answer', 'Accepted']
['s655429520', 's909084116']
[3064.0, 3064.0]
[17.0, 17.0]
[310, 250]
p03076
u244836567
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())\nf=[a,b,c,d,e]\nf.sort()\nx=0\nfor i in range(5):\n if f[i]%10==0:\n x=x+f[i]\n if f[i]%10!=0:\n x=x+(f[i]//10)*10+10\ng=a-(a//10)*10\nh=b-(b//10)*10\ni=c-(c//10)*10\nj=d-(d//10)*10\nk=e-(e//10)*10\nl=[g,h,i,j,k]\nl.sort()\nprint(x...
['Wrong Answer', 'Accepted']
['s185311526', 's420260681']
[9200.0, 9244.0]
[30.0, 30.0]
[309, 406]
p03076
u246820565
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 ...
['ten = a//10 + b//10 + c//10 + d//10 + e//10\n\naa = [a%10,b%10,c%10,d%10,e%10]\nzero = aa.count(0)\n\nif zero == 5:\n\tprint(ten)\nelse:\n\tfor i in range(1,10):\n\t\tif i in aa:\n\t\t\tone = i\n\t\t\tbreak\n\tprint(ten*10 + (4-zero)*10 +one)', '\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input()...
['Runtime Error', 'Accepted']
['s076777788', 's226312279']
[3060.0, 3064.0]
[17.0, 17.0]
[220, 311]
p03076
u247465867
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 ...
['#2019/10/04\ntime = list(map(int, open(0).read().split()))\n# print(time)\n\ntime_residual = [i%10 for i in time]\n# print(time_residual)\n\ntime_residual_notZero = [i for i in time_residual if i%10 != 0 ]\n\n\n#ans = sum([-(-i//10)*10 for i in time]) + min(time_residual_notZero) - 10\n#print(ans)', '#2019/10/04\ntim...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s546590421', 's737404885', 's795042564', 's915745152', 's825863483']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[317, 319, 316, 318, 378]
p03076
u248984274
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 = (b + 9) // 10 * 10\nc1 = (c + 9) // 10 * 10\nd1 = (d + 9) // 10 * 10\ne1 = (e + 9) // 10 * 10\n\nprint(a1, b1, c1, d1, e1)', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s182048337', 's438900547', 's483786343']
[3064.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[232, 236, 182]
p03076
u249685005
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_moji=str(a)\nb_moji=str(b)\nc_moji=str(c)\nd_moji=str(d)\ne_moji=str(e)\n\na1=int(a_moji[-1])\na1_moji=str(a1)\nif a1==0:\n a1=10\na_kiriage=a+10-a1\n\nb1=int(b_moji[-1])\nb1_moji=str(b1)\nif b1==0:\n b1=10\nb_kiriage=b+10-b1\n\nc...
['Wrong Answer', 'Accepted']
['s180537718', 's893592678']
[3064.0, 3064.0]
[17.0, 17.0]
[692, 682]
p03076
u252828980
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(int(input()))\n\nL1 = [x for x in L if x%10 == 0]\nL2 = [x for x in L if x%10 != 0]\nL3 = [(x%10,x//10) for x in L2]\n\nans = sum(L1)\nif len(L3)>0:\n\tL3.sort(reverse = True)\n\tfor i in range(len(L3)-1):\n \tans += (L3[i][1]+1)*10\n\tans += L3[-1][1]*10+L3[-1][0]\nprint(a...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s527729560', 's727359420', 's235159362']
[2940.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[304, 328, 306]
p03076
u254050469
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\nt =0\nfor m in a:\n t += int(m/10) * 10\n if m%10 != 0:\n t = t + 10\n\nb = [10 - (x%10) for x in a]\nprint(t - max(b))', 'a = []\nfor i in range(5):\n a.append(int(input() )) \n\nt =0\nfor i,m in enumerate(a):\n t += int(m/10) * 10\n i...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s460086210', 's995947091', 's206371104']
[2940.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[181, 221, 215]
p03076
u255898796
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 = [input() for i in range(5)]\nx10 = int(0)\nsum = int(0)\na = []\n\nfor i in range(5):\n if int(s[i]) % 10 == 0:\n x10 = x10 + 1\n else:\n pass\n sum = sum + ((int(s[i]) - 1) // 10 + 1) * 10\n a.append(int(s[i]) % 10)\n \nb = [int(s) for s in a]\n\nif x10 == 5:\n print(sum)\nelse:\n print(sum - 10 + m...
['Wrong Answer', 'Accepted']
['s354052805', 's915637594']
[9204.0, 9052.0]
[25.0, 28.0]
[306, 303]
p03076
u255943004
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 ...
['t = [int(input()) for i in range(5)]\nT = [(-(-i//10))*10 for i in t]\nt_min = [i%10 for i in t]\nt_min = min([i for i in t_min if i != 0]) if min(t_min) != 0 else 10\nprint(sum(T) - 10 + t_min)', 't = [int(input()) for i in range(5)]\nT = [(-(-i//10))*10 for i in t]\nt_min = [i%10 for i in t]\nprint(sum(T) - 10 + mi...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s136264968', 's405101722', 's631055294', 's655546964']
[3060.0, 2940.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0, 18.0]
[190, 126, 156, 205]
p03076
u258492760
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 ...
['t = [int(input()) for i in range(5)]\nminimum = 10\nk = 10\nt2 = list()\nans = 0\n\nfor i in range(5):\n # print(-(-t[i] // 10) * 10)\n t2.append(-(-t[i] // 10) * 10)\n if 0 < t[i] % 10 < minimum:\n minimum = t[i] % 10\n k = i\n\n#print(minimum, k)\n\nfor i in range(5):\n print(t2[i])\n ...
['Wrong Answer', 'Accepted']
['s778874546', 's127820825']
[3064.0, 3060.0]
[19.0, 18.0]
[377, 306]
p03076
u259064510
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())\nli = [a, b, c, d, e]\n\nl1 = [i % 10 for i in li]\nmin_idx = -1\nfor i in range(len(l1)):\n if min_idx == -1 or l1[i] != 0 and l1[i] < l1[min_idx]:\n min_idx = i\nlast = li.pop(min_idx)\nprint(last)\n\noutput = 0\nfor ...
['Wrong Answer', 'Accepted']
['s572374787', 's233045294']
[3064.0, 3064.0]
[17.0, 17.0]
[398, 385]
p03076
u259861571
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 ...
['# AtCoder\n\nlst = [int(input()) for _ in range(5)]\n\nn = len(lst)\ndiffs = []\nfor i in range(n):\n dif = 10 - int(str(lst[i])[-1])\n diffs.append(dif)\n\nif sum(diffs) == 50:\n print(sum(lst))\n exit()\n\nmx = max(diffs)\ns = []\nfor i in diffs:\n if i == 10:\n continue\n s.append(i)\nprin...
['Wrong Answer', 'Accepted']
['s918531222', 's014996062']
[3064.0, 3188.0]
[17.0, 20.0]
[317, 195]
p03076
u265401619
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) in i for range(5)]\nl_0 = l % 10\nar = []\nfor n in l_0:\n if n != 0:\n ar.append(10-n)\n else:\n ar.append(0)\ns = l_0.index(max(l_0))\nans = sum(l[l.index()!=s]) + sum(l_0[l_0.index()!=s]) + l[s]\nprint(ans)', 'l = [int(input()) for i in range(5)]\nl_0 = [a%10 for a in l]\nar = []\nfor n in ...
['Runtime Error', 'Accepted']
['s328304479', 's846740380']
[2940.0, 3064.0]
[17.0, 19.0]
[223, 206]
p03076
u266569040
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 lis.append(int(input()))\nplus = 0\nnotdiv = []\nfor i in range(5):\n if lis[i] % 10 != 0:\n plus += 10 - (lis[i] % 10)\n notdiv.append(lis[i])\nfor i in range(5):\n notdiv[i] %= 10\n notdiv[i] = 10 - notdiv[i]\n\n\nnotdiv.sort()\nprint(sum(lis) + plus - notdiv...
['Runtime Error', 'Runtime Error', 'Accepted']
['s188677527', 's754594071', 's176548195']
[3064.0, 3064.0, 3064.0]
[17.0, 18.0, 17.0]
[308, 308, 381]
p03076
u266874640
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 ...
['time = [int(input()) for i in range(5)]\nresult = 0\na = []\n\nfor i in range(5):\n if time[i] % 10 == 0:\n result += time[i]\n print(result)\n else:\n result += ((time[i] // 10)+1)*10\n a.append(time[i] % 10)\n print(result)\nprint(result - (10 - min(a)))\n', 'time = [int(inp...
['Runtime Error', 'Accepted']
['s515546845', 's113710884']
[3060.0, 2940.0]
[17.0, 18.0]
[286, 244]
p03076
u271469978
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\none = [10]\ntotal = 0\nfor i in range(5):\n time = input()\n if time[-1] != "0":\n one.append(int(time[-1]))\n time = int(time)\n time = math.ceil(time / 10) * 10\n print(time)\n total += time\ntotal += min(one) - 10\nprint(int(total))\n', 'import math\n\none = [10]\ntotal = 0\...
['Wrong Answer', 'Accepted']
['s019345823', 's699508633']
[3060.0, 3060.0]
[17.0, 19.0]
[263, 247]
p03076
u276204978
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\nd = 10\nans = 0\nif A % 10 == 0:\n ans += A\nelse:\n ans += (A//10+1)*10\n d = min(A - A//10*10, d)\n\nif B % 10 == 0:\n ans += B\nelse:\n ans += (B//10+1)*10\n d = min(B - B//10*10, d)\n\nif C % 10 == 0:\n ...
['Wrong Answer', 'Accepted']
['s172291072', 's633405625']
[3064.0, 3064.0]
[17.0, 18.0]
[595, 595]
p03076
u284363684
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 decimal import Decimal, ROUND_HALF_UP\n\n# input\ncook_time = []\nappend = cook_time.append\n\nfor i in range(5):\n append(int(input()))\n\n\ncook_time.sort(key=lambda x: int(Decimal(x).quantize(Decimal("1E1"), rounding=ROUND_HALF_UP)) - x)\nres = 0\nfor c in cook_time:\n\n if res % 10 != 0:\n res =...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s014422699', 's340979378', 's845605292']
[5076.0, 5076.0, 5076.0]
[34.0, 34.0, 37.0]
[422, 422, 389]
p03076
u285443936
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 ...
['array = [int(input()) for i in range(5)]\narray2 = [] \narray3 = []\n\nfor i in array:\n array2.append((i//10 + 1 ) if i%10 != 0 else i//10 * 10)\n array3.append(i%10 if i%10 != 0 else 10)\n\nprint(sum(array2)-(10-min(array3)))', 'array = [int(input()) for i in range(5)]\narray2 = [] \narray3 = []\n\nfor i in array...
['Wrong Answer', 'Accepted']
['s296365865', 's547468879']
[3060.0, 3060.0]
[17.0, 17.0]
[251, 256]
p03076
u287500079
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={} \nq={} /10のあまり\nr={} \nfor i in range(5):\n p[i] = int(input())\n q[i] = p[i] % 10\n if q[i] != 0:\n r[i] = p[i] + 10 - q[i]\n\nmaxloss = 0\nmaxlossnum = 0\nfor i in range(5):\n if maxloss < r[i] - p[i]:\n maxloss = r[i] - p[i]\n maxlossnum = i\n\ntime = int(0)\nfor i in range(5)...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s038104019', 's428441340', 's449958091', 's628048993', 's703489019']
[3064.0, 3064.0, 3064.0, 3064.0, 3064.0]
[17.0, 17.0, 18.0, 19.0, 18.0]
[460, 394, 393, 460, 502]
p03076
u288430479
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(int(input()) for i in range(5))\na =[]\ntime = 0\nfor i in range(5):\n if l[i]%10!=0:\n a.append(l[i]%10)\n else:\n a.append(9)\n#print(a)\nb = a.index(min(a))\n#print(b)\nfor i in range(5):\n time += (-(-l[i]//10))*10\n print(time)\ntime -= (-(-l[b]//10)*10) - l[b]\nprint(time)\n', 'l =list(int(inp...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s100210950', 's734400938', 's923175759']
[3064.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0]
[283, 226, 284]
p03076
u291766461
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 A = int(input())\n B = int(input())\n C = int(input())\n D = int(input())\n E = int(input())\n\n min_mod = 0\n elapsed_time = 0\n for x in [A, B, C, D, E]:\n mod = x % 10\n if 0 < mod < min_mod:\n min_mod = mod\n time = x if x % 10 == 0 else (x // ...
['Wrong Answer', 'Accepted']
['s494690505', 's609645106']
[3316.0, 3064.0]
[21.0, 18.0]
[493, 460]
p03076
u292810930
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)]\ntimes1 = []\ntotal = 0\nfor t in times:\n t1 = t % 10\n if t1 == 0:\n total += t\n else:\n times1.append(t1)\n total += (t//10 + 1) * 10\nif len(times1) >= 1:\n total = total + min(times1)\nprint(total)', 'times = [int(input()) for _ in range(5)]\ntimes1 = []\n...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s354623136', 's457740862', 's857164215', 's417687521']
[3060.0, 3060.0, 3060.0, 3060.0]
[17.0, 18.0, 17.0, 17.0]
[247, 225, 228, 252]
p03076
u294630296
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 rest(num):\n return num % 10\n\nA = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\nFoods = [A,B,C,D,E]\nres = 0\n\npoplist=[]\nfor idx in range(5):\n if Foods[idx]%10==0:\n res += Foods[idx]\n poplist.append(idx)\nwhile len(poplist)>0:\n idx = max(popl...
['Runtime Error', 'Accepted']
['s842211392', 's690602205']
[3064.0, 3064.0]
[20.0, 17.0]
[541, 556]
p03076
u294698648
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\n# write code...\nimport math\n\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nList1=[a,b,c,d,e]\nList2=[(a-1)%10,(b-1)%10,(c-1)%10,(d-1)%10,(e-1)%10]\n\n\nindex=List2.index(min(List2))\n\n\nans = math.ceil(a/10)+math.ceil(b/10)+math.ceil(c/10)+math.ceil(d/10)+math.c...
['Wrong Answer', 'Accepted']
['s314132762', 's752541646']
[3064.0, 3064.0]
[17.0, 17.0]
[614, 594]
p03076
u298297089
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 = [[i, i%10] for i in a]\n\nb.sort(key=lambda x:x[1])\ns=b[0][0]\nfor i in range(1,5):\n s += b[i][0] if b[i][1] == 0 else (b[i][0]+10)//10*10\nprint(s)', 'from math import floor, ceil\na = [int(input()) for i in range(5)]\nc = sorted(a, key = lambda x: 10 if...
['Wrong Answer', 'Accepted']
['s857867164', 's629644805']
[3060.0, 3060.0]
[18.0, 17.0]
[201, 189]
p03076
u306516971
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)]\n\nli = []\nfor i in range(5):\n if foods[i] % 10 != 0:\n li.append(10-foods[i]%10)\n foods[i] += (10-foods[i]%10)\nif li = []:\n ans = sum(foods)\nelse: \n ans = sum(foods) - max(li)\nprint(ans)', 'foods = [int(input()) for i in range(5)]\n\nli = []\...
['Runtime Error', 'Accepted']
['s906349024', 's037735994']
[2940.0, 3060.0]
[17.0, 19.0]
[251, 252]
p03076
u308460366
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\nlines = [int(input()) for i in range(5)]\n\ntime = 0\ncount = 0\n\nfor i,item in enumerate(lines):\n\tif item%10 == 0:\n\t\ttime += item\n\t\tlines[i] = 0\n\t\tcount += 1\n\t\tprint(item)\n\nfor i in reversed(range(9)):\n\tprint("#",i)\n\tfor j,item in enumerate(lines):\n\t\tif item%10 == i+1:\n\t\t\tti...
['Wrong Answer', 'Accepted']
['s260006379', 's744688694']
[3064.0, 3064.0]
[17.0, 18.0]
[402, 405]
p03076
u309018392
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 ...
['t = []\nans = 0\nfor i in range(5):\n a = int(input())\n if a%10 == 0:\n ans += a\n \n else:\n x = 10-a%10\n ans += a + (x)\n t.append(x)\n \nprint(t)\nans -= max(t)\nprint(ans)', 't = []\nans = 0\nfor i in range(5):\n a = int(input())\n if a%10 == 0:\n ans +...
['Runtime Error', 'Accepted']
['s508241560', 's854447719']
[3060.0, 3060.0]
[17.0, 17.0]
[209, 215]
p03076
u309141201
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 ...
['time = []\nrem = []\nfor _ in range(5):\n n = int(input())\n time.append(n)\n if n % 10 != 0:\n rem.append(10 - n % 10)\n\nrem.sort()\nans = sum(time) + sum(rem[:4])\n# print(time, rem)\nprint(ans)\n', 'time = []\nrem = []\nfor _ in range(5):\n n = int(input())\n time.append(n)\n if n % 10 !=...
['Wrong Answer', 'Accepted']
['s538853902', 's897015088']
[2940.0, 2940.0]
[17.0, 17.0]
[203, 212]
p03076
u309469516
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,fir_digi=[int(input()) for i in range(5)],[]\nfor i in range (5):\n fir_digi.append(menu[i]%10)\nfor i in range (5):\n if i!=fir_digi.index(min(fir_digi)) and fir_digi[i]!=0:\n menu[i]=int(menu[i]/10)*10+10\nprint(sum(menu))', 'menu=[int(input()) for i in range(5)]\nfir_digi=[menu[i]%10 for i in...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s068941965', 's160520434', 's904131513']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[240, 216, 300]
p03076
u310233294
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 = []\nfor i in range(5):\n s.append(int(input()))\ns1 = [str(e)[-1] for e in s]\ns2 = [int(e) if e != '0' else 10 for e in s1]\ntime_min = s2.index(min(s2))\ns_min = s.pop(time_min)\ns3 = [-(-e//10)*10 for e in s]\nresult = sum(s3) + s_min\nprint(s2, s_min)\nprint(result)", "s = []\nfor i in range(5):\n s.app...
['Wrong Answer', 'Accepted']
['s583835357', 's500531937']
[3064.0, 3064.0]
[17.0, 17.0]
[267, 250]
p03076
u313890617
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\nt=[]\ntmp=10\nfor i in range(5):\n t.append(int(input()))\n if t[i]%10!=0 and t[i]%10<tmp:\n tmp=t[i]%10\nprint(tmp)\nflg=0\nfor i in range(5):\n if (t[i]%10!=tmp or flg==1) and t[i]%10==0:\n ans+=t[i]\n elif (t[i]%10!=tmp or flg==1) and t[i]%10!=0:\n ans+=(t[i]//10+1)*10\n ...
['Wrong Answer', 'Accepted']
['s785896981', 's537609384']
[9152.0, 9132.0]
[28.0, 25.0]
[377, 378]
p03076
u316386814
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())\ndef f(x):\n return -(-x // 10) * 10\ndef g(x):\n return x % 10\nans = sum(f(i) for i in [a,b,c,d,e])\nans += min(g(i) for i in [a,b,c,d,e])', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(inp...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s321478189', 's491836293', 's769587826']
[3064.0, 3064.0, 3064.0]
[19.0, 17.0, 19.0]
[221, 254, 253]
p03076
u317779196
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)]\nl_1st = [int(str(0 - int(str(i)[-1]))[-1]) for i in l]\nl_rm_i = l_1st.index(max(l_1st))\nl_rm = l[l_rm_i]\ndel l[l_rm_i]\n\nl = [math.ceil(i/10)*10 for i in l]\nans = int((sum(l) + l_rm))\nprint(ans)', 'import math\nl = [int(input()) for _ in range(5)]\nl_1st = [int...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s325161394', 's612680808', 's686073647', 's967015599']
[3064.0, 3064.0, 3060.0, 3316.0]
[17.0, 18.0, 17.0, 22.0]
[242, 256, 156, 243]
p03076
u322185540
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)]\nans = 0\namari = []\nfor i in l:\n amari.append(i%10)\namarii = sorted(amari,reverse=True)\namamari = []\nfor j in amarii:\n amamari.append(10-j)\nsumsum = sum(l)\nsumsumamari = sum(amamari[:4])\nans = sumsum+sumsumamari\nprint(ans)', 'l = [int(input())for i in range(5)]\nan...
['Wrong Answer', 'Accepted']
['s262952764', 's711025589']
[3064.0, 3060.0]
[17.0, 17.0]
[263, 309]
p03076
u325874977
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 = [input() for i in range(5)]\n\nsum_time = 0\nlast_order_surplus = 10\n\nfor dish in dishes:\n if last_order_surplus > int(dish) % 10 & int(dish) % 10 != 0:\n last_order_surplus = int(dish) % 10\n if int(dish) % 10 != 0:\n sum_time += int(int(dish) / 10 + 1)\n else:\n sum_time = int(int(dish) / 10...
['Wrong Answer', 'Accepted']
['s705278629', 's740731140']
[3060.0, 3060.0]
[17.0, 17.0]
[357, 358]
p03076
u325956328
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 _ in range(5)]\nfirst_digit = []\nfor num in n:\n z = int(str(num)[-1])\n if z > 0:\n first_digit.append(z)\n else:\n first_digit.append(0.001)\n\n\nt = 0\nfor i in range(len(n)):\n t += -(-n[i] // 10) * 10\n\nprint(int(t - (10 - min(first_digit))))\n', 'n = [int(input(...
['Wrong Answer', 'Accepted']
['s820907281', 's314527196']
[3060.0, 3060.0]
[18.0, 18.0]
[304, 304]
p03076
u326870273
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\ncook = []\nfor i in range (5):\n cook.append(int(input()))\n\ntimes = 0\n\nmin_10 = []\nfor c in range(len(cook)):\n min_10.append((cook[c] - 1) % 10) \n\nmin_index = min_10.index(min(min_10))\nprint(min_10, min_index)\ntotal_time = 0\nfor c in range(len(cook)):\n if min_index == c:\n ...
['Wrong Answer', 'Accepted']
['s377053439', 's310410145']
[3064.0, 3064.0]
[17.0, 17.0]
[570, 546]
p03076
u328755070
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())\n\ndef roof(n):\n return math.ceil(n/10) * 10\n\ndef mod(n):\n return n % 10\n\nlow = map(mod, [A,B,C,D,E])\ntop = map(roof, [A,B,C,D,E])\n\nlow = [i for i in low if i != 0]\n\nans = sum(top) + min(low)\nprin...
['Runtime Error', 'Accepted']
['s052008455', 's924246671']
[3064.0, 3064.0]
[18.0, 17.0]
[305, 335]
p03076
u329036729
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\ntime_list=[]\n\nfor _ in range(5):\n time_list.append(int(input()))\n# print(1, time_list)\n\ntime_list2=[]\nfor x in time_list:\n m = x % 10\n if m!=0:\n time_list2.append(x+(10-m))\n else:\n time_list2.append(x)\n# print("2", time_list2)\n# print(round(102,-1))\n\nmod_list = [...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s187615970', 's490717829', 's639237814']
[3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[443, 394, 467]
p03076
u329058683
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 n=[]\n a=input()\n n.append(int(a[-1]))\n n.append(int(a))\n l.append(n)\nt=0\nfor i in l:\n if i[0]==0:\n t=t+i[1]\n l.remove(i)\nprint(t)\n ', 'import math\nL1=[int(input())/10 for i in range(5)]\nL2=[]\nfor i in L1:\n L2.append(math.ceil(i)*10)\nL3=[]\nfor i in range(5):\...
['Wrong Answer', 'Accepted']
['s289461599', 's409813246']
[2940.0, 3060.0]
[18.0, 17.0]
[171, 179]
p03076
u332906195
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 math\n\na, b, c, d, e = int(input()), int(input()), int(input()), int(input()), int(input())\n\nans = math.ceil(a / 10)\nans += math.ceil(b / 10)\nans += math.ceil(c / 10)\nans += math.ceil(d / 10)\nans += math.ceil(e / 10)\nans *= 10\nans += min(a % 10, b % 10, c % 10, d % 10, e % 1...
['Wrong Answer', 'Accepted']
['s254789985', 's734754862']
[3064.0, 2940.0]
[17.0, 18.0]
[326, 192]
p03076
u333404917
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 decimal import Decimal, ROUND_UP\n \nl = [int(input()) for _ in range(5)]\nmin_remainder = 10 - min([x%10 for x in l if x%10 > 0]+[0])\nprint(sum([int(Decimal(x).quantize(Decimal("1E1"), rounding=ROUND_UP)) for x in l]) - min_remainder)', 'from decimal import Decimal, ROUND_UP\n \nl = [int(input()) for _ in rang...
['Wrong Answer', 'Accepted']
['s809574137', 's281020739']
[5204.0, 5024.0]
[36.0, 34.0]
[237, 379]
p03076
u334928930
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 i in range(5)]\nsumm=0\nk=0\nfor i in inputs:\n if i%10==0:\n summ=summ+i\n else:\n s,m=divmod(i,10)\n summ=summ+(s+1)*10\n\t\tif 10-m>10-k:\n k=m\nsumm=summ-10+k\nprint(summ)\n', 'inputs = [int(input()) for i in range(5)]\nsumm = 0\nk = 10\nfor i in inputs...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s038483341', 's469595043', 's505095700', 's868620723', 's151866336']
[2940.0, 3060.0, 3316.0, 3060.0, 3064.0]
[18.0, 17.0, 20.0, 18.0, 17.0]
[223, 266, 165, 228, 266]
p03076
u336721073
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 = []\nfor i in range(5):\n dish.append(int(input()))\nprint(sum([d // 10 + (d % 10 > 0) for d in dish]) * 10 + sorted([d % 10 for d in dish])[0] - 10)', 'dish = []\nfor i in range(5):\n dish.append(int(input()))\ntmp1 = sum([d // 10 + (d % 10 > 0) for d in dish]) * 10\ntmp2 = sum(sorted([d % 10 for d in di...
['Wrong Answer', 'Accepted']
['s834623719', 's154954680']
[3060.0, 3060.0]
[17.0, 19.0]
[155, 238]
p03076
u339550873
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# -*- coding: utf-8 -*-\nls = []\nfor i in range(5):\n ls.append(int(input()))\n\nlasttime = 10\nfor a in ls:\n b = a%10\n if b < lasttime:\n lasttime = b\n ans =a\n\nls.remove(ans)\nsum =0\nfor i in ls:\n if i%10 ==0:\n sum +=i\n else:\n p = i//10\n...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s189532579', 's302794513', 's742344873', 's823119264', 's029364923']
[2940.0, 3060.0, 3060.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0, 18.0, 17.0]
[345, 315, 322, 346, 489]
p03076
u342051078
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\nimport sys\nimport numpy\n\na = list(mat(int,input().split()))\nb = []\nfor i in range(5):\n b.append(a[i]%10)\nmx = min(b)\nans = 0\nfor i in range(5):\n if mx == a[i]:\n continue\n else :\n ans += (a[i]+10-(a[i]%10))\nans += mx\nprint(ans)', 'import math\nimport sys\nimport numpy...
['Runtime Error', 'Accepted']
['s216873157', 's570600450']
[13664.0, 12392.0]
[152.0, 150.0]
[261, 223]
p03076
u344412812
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 ...
['xs = [int(input()) for i in range(5)]\nps = []\nfor x in xs:\n\tps.append(((x-1)%10+1, x))\nps.sort()\nans = 0\nans += ps[0][1]\nfor i in range(1, 5):\n\tprint(ps[i])\n\tans += (ps[i][1] + 9) // 10 * 10\nprint(ans)\n', 'xs = [int(input()) for i in range(5)]\nps = []\nfor x in xs:\n\tps.append(((x-1)%10+1, x))\nps.sor...
['Wrong Answer', 'Accepted']
['s206708710', 's974463440']
[3060.0, 3060.0]
[17.0, 18.0]
[202, 188]
p03076
u345778634
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 ...
['flag = False\nmini = 124\ntime = 0\nfor _ in range(5):\n A = int(input())\n if A%10 == 0:\n time += A\n else:\n time += A - A%10 + 10\n mini = min(A%10, mini)\n print(time)\ntime += mini - 10\nprint(time)', 'flag = False\nmini = 124\ntime = 0\nfor _ in range(5):\n A = int(input())\...
['Wrong Answer', 'Accepted']
['s847473604', 's278680916']
[3060.0, 3060.0]
[17.0, 17.0]
[225, 242]
p03076
u346629192
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 = []\nfor i in range(5):\n lst.append(int(input()))\nlst_f=[]\nfor i in range(5):\n lst_f.append(lst[i]%10)\nwhile 0 in lst_f:\n lst_f.remove(0)\nif len(lst_f) == 0:\n print(sum(lst))\nelse:\n print(sum(lst)-sum(lst_f)+10*(4-lst_f.count(0))+min(lst_f))', 'lst = []\nfor i in range(5):\n lst.appen...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s316247346', 's674055566', 's181819963']
[3060.0, 3060.0, 3064.0]
[17.0, 17.0, 18.0]
[260, 250, 256]
p03076
u347600233
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 i in range(5)]\nmin_dish = dishes.pop(dishes.index(min(dishes)))\nsum = 0\nfor d in dishes:\n sum += -int(-d / 10) * 10\nprint(sum + min_dish)\n', 'dishes = [int(input()) for i in range(5)]\nmin_dish = dishes.pop(dishes.index(min(dishes)))\nsum = 0\nfor d in dishes:\n sum += -int(-d)\npri...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s446427915', 's895457051', 's363397021']
[2940.0, 2940.0, 3060.0]
[17.0, 17.0, 18.0]
[166, 155, 194]
p03076
u348868667
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\ntmp1 = list(map(int,input().split()))\ntmp2 = list()\nfor j in range(5):\n if tmp1[j]%10 == 0:\n tmp2.append(0)\n else:\n tmp2.append(10 - tmp1[j]%10)\nfor i in range(5):\n tmp1[i] = ceil(tmp1[i]/10)*10\nprint(tmp1)\nprint(tmp2)\nprint(sum(tmp1)-max(tmp2))', 'from math im...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s039948689', 's092668832', 's378673464', 's474679217']
[3064.0, 3060.0, 3060.0, 3064.0]
[18.0, 17.0, 17.0, 17.0]
[290, 296, 266, 332]
p03076
u350093546
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\nx=0\ny=9\nfor _ in range(5):\n i=int(input())\n x+=math.ceil(i/10)*10\n if i%10<y:\n y=i%10\nprint(x+y-10)\n', 'import math\n\nx=0\ny=0\nfor _ in range(5):\n i=int(input())\n x+=math.ceil(i/10)*10\n if i%10>y:\n y=i%10\nprint(x+y-10)\n', 'import math\n\nx=0\ny=0\nfor _ in range(5):\n i=int...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s484763442', 's666032474', 's690527057', 's874111165', 's931050430', 's118977434']
[2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 3060.0]
[17.0, 17.0, 18.0, 17.0, 17.0, 17.0]
[119, 119, 113, 126, 148, 185]
p03076
u353797797
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 ...
['with open("td3") as f:\n open0read = f.read()\nn=list(map(int,open0read.split()))\nn.sort(key=lambda x:-((x-1)%10))\nprint(sum([((x-1)//10+1)*10 for x in n[:-1]]+[n[-1]]))\n', 'n=list(map(int,open(0).read().split()))\nn.sort(key=lambda x:-((x-1)%10))\nprint(sum([((x-1)//10+1)*10 for x in n[:-1]]+[n[-1]]))\n']
['Runtime Error', 'Accepted']
['s440691381', 's604338808']
[3064.0, 2940.0]
[17.0, 17.0]
[171, 128]
p03076
u354567428
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 i in range(5))\n\nb=[-(-a[i]//10)*10 for i in range(5)]\nc=[a[i]%10 for i in range(5) if a[i]%10 != 0]\nprint(b)\n\nprint(sum(b) + min(c) -10)\n', 'n=[int(input()) for i in range(5)]\n\na=[-(-n[i]//10)*10 for i in range(len(n))]\nb=[n[i]%10 for i in range(len(n)) if n[i]%10 != 0]\nif b != []:\...
['Runtime Error', 'Accepted']
['s176627422', 's902153253']
[2940.0, 3060.0]
[17.0, 18.0]
[161, 197]
p03076
u355371431
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)]\namari =9\ntime = 0\nflag = False;\nfor i in List:\n if(i%10 != 0):\n time += 10 - i%10\n amari = min(amari,i%10)\n flag = True\noutput = sum(List) + time\nif(flag):\n output += amari\nprint(output)', 'List= [int(input()) for i in range(5)]\namari =9\n...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s759728922', 's942107443', 's284630925']
[3064.0, 2940.0, 3060.0]
[17.0, 17.0, 18.0]
[252, 259, 199]
p03076
u358791207
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 = list(str(a))\nB = list(str(b))\nC = list(str(c))\nD = list(str(d))\nE = list(str(e))\nif max([A[-1], B[-1], C[-1], D[-1], E[-1]]) != 0:\n k = np.argmin([A[-1], B[-1], C[-1], D[-1], E[-1]])\n\nsum = 0\n...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s056548593', 's203608065', 's399836741', 's404073931', 's593709966', 's009216524']
[21292.0, 21160.0, 12516.0, 12516.0, 12516.0, 12388.0]
[315.0, 301.0, 148.0, 151.0, 149.0, 148.0]
[735, 631, 685, 428, 626, 442]
p03076
u360090862
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()))\na=sorted(a,key=lambda x: x%10)\nc=0\nfor i in a[0:-1]:\n c+=round(i/10)*10\nprint(c+a[-1])\n', 'a=[]\nfor i in range(5):\n a.append(int(input()))\na=sorted(a,key=lambda x: -((x-1)%10))\nc=0\nfor i in a[0:-1]:\n if i%10!=0:\n c+=(int(i/10)+1)*10\n else:\n c...
['Wrong Answer', 'Accepted']
['s081114025', 's405696644']
[3060.0, 3064.0]
[18.0, 18.0]
[137, 178]
p03076
u361381049
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 = []\ncnt = 0\nfor i in range(5):\n val = 0\n a = int(input())\n while a % 10 != 0:\n a += 1\n val += 1\n lis.append(a)\n if val > cnt:\n cnt = val\nprint(cnt)\nans = sum(lis)\nprint(ans - cnt)', 'lis = []\ncnt = 0\nfor i in range(5):\n val = 0\n a = int(input())\n whi...
['Wrong Answer', 'Accepted']
['s829963167', 's629367306']
[2940.0, 3060.0]
[17.0, 17.0]
[220, 221]
p03076
u362560965
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 abc(n):\n if n % 10 == 0:\n return n\n else:\n return n + 10 - (n%10)\n\nans = 0\nmods = []\n\nfor _ in range(5):\n tmp = int(input())\n ans += abc(tmp)\n mods.append(tmp%10)\n\nif not set(mods) == {0}:\n ans -= 10\n ans += min(mods)\n\nprint(ans)', 'def abc(n):\n if n % 10 =...
['Wrong Answer', 'Accepted']
['s300001771', 's657925628']
[3316.0, 3064.0]
[19.0, 17.0]
[268, 312]
p03076
u363992934
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 ...
['sum = 0\nfor i in range(5):\n sum += int(input())\nprint((sum+1)//10)', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nlst_1 = sorted([(a - 1) % 10, (b - 1) % 10, (c - 1) % 10, (d - 1) % 10, (e - 1) % 10])\nprint(lst_1[0])\nprint(((a+9)//10)*10 + ((b+9)//10)*10 + ((c...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s148240436', 's827623059', 's045069655']
[2940.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[73, 325, 309]
p03076
u366677622
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 ...
['num=[]\na=[] \ntime = 0 \nfor i in range(5):\n num.append(int(input()))\n if num[i]%10 == 0:\n a.append(0)\n else:\n a.append(10 - num[i]%10)\n time += num[i] + a[i]\n\ntime -= max(a)\ntime', 'num=[]\na=[] \ntime = 0 \nfor i in range(5):\n num.append(int(input()))\n if num[i]%10 == 0:\...
['Wrong Answer', 'Accepted']
['s539954895', 's295349547']
[2940.0, 3060.0]
[17.0, 17.0]
[203, 211]
p03076
u367130284
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*\n*a,=map(int,open(0).read().split())\nb=[i%10for i in a]\nc=a.pop(b.index(min(b)))\nans=0\n#print(a)\nfor i in a:\n #print((i//10*10+(i%10>0)*10))\n ans+=(i//10*10+(i%10>0)*10)\nprint(ans+c)', '*a,=map(int,open(0).read().split())\nb=[i%10 if i%10!=0 else 99 for i in a ]\nc=a.pop(b.index(m...
['Wrong Answer', 'Accepted']
['s184893993', 's639878092']
[3060.0, 2940.0]
[17.0, 17.0]
[210, 208]
p03076
u368016155
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 _ in range(5)]\nmin_digit = 0\ntime = 0\nfor i in range(len(order)):\n if order[i]%10!=0:\n time+=(order[i]//10+1)*10\n else:\n time+=order[i]\n\nfor i in range(len(order)):\n digit = order[i]%10\n if min_digit>=digit and digit!=0:\n min_digit=digit\n \norder_digit = [i%10 fo...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s059249476', 's187264655', 's202059648', 's283024164', 's636935389', 's783314944', 's794891369', 's993313719', 's454576451']
[3064.0, 3064.0, 3064.0, 2940.0, 2940.0, 3060.0, 3064.0, 3064.0, 3064.0]
[17.0, 18.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0]
[410, 411, 397, 174, 203, 303, 383, 411, 397]
p03076
u370429695
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 = []\nlis = []\ntime = 0\nfor i in range(5):\n li.append(int(input()))\n lis.append(li[i] % 10)\nlast = lis.index(min(lis))\nfor i in range(5):\n if i == last:\n continue\n elif lis[i] == 0:\n time += li[i]\n elif 1 <= li[i] <= 9:\n time += 10\n else:\n time += int(li[...
['Wrong Answer', 'Accepted']
['s986146522', 's388706705']
[3064.0, 3060.0]
[17.0, 18.0]
[344, 296]
p03076
u371132735
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 ...
['# nabc123_b.py\n\ndishes = [int(input()) for i in range(5)]\nlest_time = 0\nans = 0\nfor dish in dishes:\n if dish%10==0:\n ans += (dish)\n else:\n ans += (dish+10-dish%10)\n if lest_time < 10-dish%10 and dish%10!=0:\n lest_time = 10-dish%10\n print(ans,dish,lest_time)\nprint(ans-lest...
['Wrong Answer', 'Accepted']
['s600610770', 's654384965']
[3060.0, 2940.0]
[17.0, 17.0]
[403, 373]
p03076
u371409687
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 ...
['t=[int(input()) for _ in range(5)]\ns=[]\nfor i in range(5):\n s.append(t[i]%10)\n t[i]=-(-t[i]//10)*10\nS=sorted(s)[-5+s.count(0)]\nif S==0:\n print(sum(t))\nelse:print(sum(t-10+S))', 't=[int(input()) for _ in range(5)]\ns=[]\nfor i in range(5):\n s.append(t[i]%10)\n t[i]=-(-t[i]//10)*10\ns=sorted(s)\...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s237980581', 's495253202', 's198366501']
[3060.0, 3064.0, 3060.0]
[17.0, 17.0, 17.0]
[183, 258, 183]
p03076
u371467115
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)]\nd=[]\nfor j in a:\n while j%10!=0:\n j+=1\n d.append(j)\nb=[]\nc=0\nfor i in range(5):\n c=a[i]%10\n b.append(c)\ne=b.index(min(b))\nd.pop(e)\nprint(sum(d)+a[e])', 'a=[int(input()) for _ in range(5)]\nb=[]\nans=0\nfor j in a:\n while j%10!=0:\n j+=1\n b.append(j)\nfor i...
['Wrong Answer', 'Accepted']
['s541014972', 's895145982']
[3060.0, 2940.0]
[17.0, 17.0]
[191, 178]
p03076
u373047809
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 ...
['*t, = map(int, open(0).read().split())\ntry:\n m = 10 - min([i%10 for i in t if i%10])\nexcept Value Error:\n m = 0\nprint(sum([-(-j // 10) for j in t])*10 - m)', '*t, = map(int, open(0).read().split())\ntry:\n m = 10 - min([i%10 for i in t if i%10])\nexcept ValueError:\n m = 0\nprint(sum([-(-j // 10) for...
['Runtime Error', 'Accepted']
['s199772694', 's028738760']
[2940.0, 2940.0]
[17.0, 17.0]
[161, 160]
p03076
u375695365
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=sum(a)\nb=10\nfor i in range(5):\n ans+=10-a[i]%10\n b=min(b,a[i]%10)\nprint(ans-10+b)', 'a=[int(input()) for _ in range(5)]\nans=sum(a)\nb=10\nfor i in range(5):\n if a[i]%10!=0:\n ans+=10-a[i]%10\n b=min(b,a[i]%10)\nprint(ans-10+b)']
['Wrong Answer', 'Accepted']
['s621695751', 's514063352']
[3060.0, 3060.0]
[17.0, 17.0]
[126, 153]
p03076
u382176416
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()[::-1]\nb = input()[::-1]\nc = input()[::-1]\nd = input()[::-1]\ne = input()[::-1]\n\ntotal = 0\n\nmenu_list = []\n\nmenu_list.append(a)\nmenu_list.append(b)\nmenu_list.append(c)\nmenu_list.append(d)\nmenu_list.append(e)\n\nmenu_list2 = []\n\nfor i in range(len(menu_list)):\n if menu_list[i][:1] == '0':...
['Wrong Answer', 'Accepted']
['s673802148', 's887316459']
[3064.0, 3064.0]
[17.0, 18.0]
[675, 655]
p03076
u383508661
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=[int(input()) for i in range(5)]\nR=list(S)\nfor i in range(5):\n R[i]=R[i]%10\nL=sorted(R)[::-1]\n\ntotal=S[0]+S[1]+S[2]+S[3]+S[4]\nmati=(10-L[0])+(10-L[1])+(10-L[2])+(10-L[3])\nprint(total+mati)', 'S=[int(input()) for i in range(5)]\nR=list(S)\nfor i in range(5):\n R[i]=R[i]%10\nL=sorted(R)[::-1]\n\nfor i i...
['Wrong Answer', 'Accepted']
['s316266228', 's298701738']
[3064.0, 3064.0]
[19.0, 18.0]
[193, 242]
p03076
u384261199
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\nans = min(a%10, b%10, c%10, d%10, e%10) + (a+(10-a%10)) + (b+(10-b%10))+(c+(10-c%10))+(d+(10-d%10))+(e+(10-e%10)) -10\n\nprint(ans)', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\...
['Wrong Answer', 'Accepted']
['s232950716', 's674251478']
[3064.0, 3064.0]
[17.0, 17.0]
[215, 439]
p03076
u385244248
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 = list(map(int,open(0).read().split()))\nLm = min([i//10 for i in L])\nprint(sum([10*math.ceil(i/10) for i in L])-Lm)\nimport math\nL = list(map(int,open(0).read().split()))\nLm = max([10-(i//10) for i in L])\nprint(sum([10*math.ceil(i/10) for i in L])-Lm)\n\n\n\n', 'import math\nL = [int(input()) for ...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s137839217', 's997077532', 's979757904']
[3064.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[268, 212, 200]
p03076
u386122581
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 i in range(5)]\n\nkey=[]\nsums=0\n\nfor num in nums:\n key.append(num%10)\n\nflag=True\n\nfor i in range(len(nums)):\n if nums[i]==nums[key.index(min(key))] and flag:\n flag=False\n continue\n sums+=((10-key[i])+nums[i])\n \nprint(sums+nums[key.index(min(key))])', 'nums=[int(input()) ...
['Wrong Answer', 'Accepted']
['s109931762', 's314579790']
[3064.0, 3064.0]
[17.0, 17.0]
[279, 324]
p03076
u392938961
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# Your code here!\n\nfood = [int(input()) for i in range(5)]\n\nminr = 10\nminf = 0\nfor f in food:\n if f % 10 != 0 :\n if f % 10 < minr :\n minr = f % 10\n minf = f\n else:\n minf = f\n\nfood.remove(minf)\nfood.append(minf)\n\nsumf = 0\ni = 0\nfor f in food...
['Wrong Answer', 'Accepted']
['s389157630', 's087997844']
[3064.0, 3064.0]
[17.0, 18.0]
[440, 455]
p03076
u394853232
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(input()) for _ in range(5)]\n\nsum = 0\nedge = 10\n\nfor ele in lst:\n if ele % 10 == 0:\n # do something\n sum += ele\n else:\n sum += ((ele - 1) // 10 + 1) * 10\n edge = min(edge, ele % 10)\nprint(sum + edge % 10)\n', 'lst = [int(input()) for _ in range(5)]\n\nsum = 0\ne...
['Wrong Answer', 'Accepted']
['s008818729', 's766339931']
[2940.0, 2940.0]
[17.0, 17.0]
[249, 250]
p03076
u398983698
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=[int(input()) for _ in range(5)]\nk=[s[i]%10 for i in range(5)]\nl=[]\nfor i in range(5):\n if k[i] !=0:\n l.append(10-k[i])\n else:\n l.append(0)\np=max(k)\nm=sum(s)\nn=sum(l)\nprint(int(m+n-p))', 's=[int(input()) for _ in range(5)]\nk=[s[i]%10 for i in range(5)]\nl=[]\nfor i in range(5):\n ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s099972010', 's136751337', 's178189313', 's674938380', 's780786525', 's038683981']
[3064.0, 3064.0, 2940.0, 3064.0, 3064.0, 3060.0]
[18.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[206, 206, 115, 206, 206, 206]
p03076
u405660020
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(input()) for _ in range(5)]\n\nc=[0]\nfor i in range(5):\n if lst[i]%10!=0:\n c.append(lst[i]%10)\n lst[i]=(lst[i]//10+1)*10\n\n\nprint(sum(lst)+min(c)-10)', 'lst=[int(input()) for _ in range(5)]\n\nc=[]\nfor i in range(5):\n if lst[i]%10!=0:\n c.append(lst[i]%10)\n lst[i]=(...
['Wrong Answer', 'Accepted']
['s466090705', 's798886529']
[3060.0, 3060.0]
[17.0, 17.0]
[172, 210]
p03076
u408071652
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\nfrom collections import defaultdict\n\n\ndef input():\n return sys.stdin.readline().rstrip()\n\n\ndef main():\n a = int(input())\n b = int(input())\n c = int(input())\n d = int(input())\n e = int(input())\n\n W = [a, b, c, d, e]\n\n d = 0\n p = []\n\n for i in range(5):\n ...
['Wrong Answer', 'Accepted']
['s486375320', 's396987827']
[9440.0, 9332.0]
[32.0, 32.0]
[519, 520]
p03076
u408375121
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 = 9\nl = []\nr = []\nfor i in range(5):\n a = int(input())\n if a % 10 != 0:\n m = 10 - a % 10\n b = a + a % 10\n l.append(b)\n r.append(m)\n else:\n l.append(a)\n r.append(0)\nr.sort()\nprint(sum(l) - r[-1])\n \n', 'm = 9\nl = []\nr = []\nfor i in range(5):\n a = int(input())\n if a % 1...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s036448671', 's323049367', 's730730705']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[225, 208, 220]
p03076
u411237324
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())\naa = 10 * ((a + 9) // 10)\nbb = 10 * ((b + 9) // 10)\ncc = 10 * ((c + 9) // 10)\ndd = 10 * ((d + 9) // 10)\nee = 10 * ((e + 9) // 10)\nx = min(set([a%10,b%10,c%10,d%10,e%10]) - {0})\nprint(x)\nprint(aa+bb+cc+dd+ee-(10-x))\n', 'a...
['Runtime Error', 'Accepted']
['s322459533', 's604613639']
[3316.0, 3064.0]
[21.0, 17.0]
[300, 374]
p03076
u411435121
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]\nl = sorted(l)\n# print(l)\nans = 0\ntl = []\nfor v in l:\n temp = v % 10\n while temp > 10:\n temp = v % 10\n if temp == 0:\n temp = 100\n tl.append(temp)\n# print(tl)\ntt = []\nfor i...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s243325857', 's394710767', 's602598445', 's920111501', 's937684977', 's323650470']
[3064.0, 3064.0, 3064.0, 3064.0, 3192.0, 3064.0]
[17.0, 17.0, 17.0, 17.0, 20.0, 17.0]
[691, 491, 691, 477, 679, 758]
p03076
u412481017
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 ...
['r=[int(input()) for _ in range(5)]\n#print(r)\n\nans=0\nrowMin=0\n\nfor item in r:\n ans+=(((-1*item)//10)*(-10))\n if item%10 !=0 and item%10<rowMin%10:\n rowMin=item\n \n\nans=ans+rowMin-(((-1*rowMin)//10)*(-10))\nprint(ans)', 'r=[int(input()) for _ in range(5)]\n#print(r)\n\nans=0\nrowMin=-9\n\nfor item in...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s364267760', 's800621047', 's724473082']
[3060.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[221, 252, 264]
p03076
u415905784
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 A[i] = int(input())\nA.sort(reversed=True, key=lambda x: x % 10)\nt = 0\nfor a in A[:4]:\n a += 9\n t += a - a % 10\nprint(t + a[4])', 'A = [0] * 5\nfor i in range(5):\n A[i] = int(input())\nA.sort(reverse=True, key=lambda x: x % 10)\nfor i in range(5):\n if A[4] % 10 == 0:\n ...
['Runtime Error', 'Accepted']
['s825518963', 's070132947']
[3060.0, 3060.0]
[17.0, 17.0]
[161, 241]
p03076
u416758623
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 _ in range(5)]\nminNum = 9\nx = 0\nfor i in n:\n if i % 10 < minNum and i % 10 != 0:\n minNum = i % 10\n x = i\nn.pop(n.index(x))\ntotal = x\nprint(total)\nfor j in n:\n total += ((j + 9) // 10) * 10\nprint(total)', 'n = [int(input()) for x in range(5)]\nminNum = 10\narray =...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s018367545', 's156776766', 's810418003', 's853738356', 's923276813', 's911623382']
[3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 3064.0]
[17.0, 18.0, 18.0, 17.0, 18.0, 18.0]
[243, 293, 254, 352, 325, 368]
p03076
u422291726
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)]\nfraction = max([10 - t % 10 for t in times])\nif fraction == 10:\n fraction = 0\nprint(sum([(t - t % 10) + ((t % 10 + 9) // 10) * 10 for t in times]) - fraction)\n\n', 'times = [int(input()) for _ in range(5)]\nfractions = [10 - t % 10 for t in times if t % 10 != 0]\nif fr...
['Wrong Answer', 'Accepted']
['s537611770', 's959629602']
[2940.0, 2940.0]
[17.0, 17.0]
[204, 223]
p03076
u422673384
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)]\n\na = list(map(lambda x: x % 10, l))\nfor i in range(len(a)):\n if a[i] == 0:\n a[i] = 10\na\nmini = min(a)\nindex = a.index(mini)\ndef calc(x):\n if x % 10 == 0:\n return x\n else:\n return 10 + (x // 10) * 10\nans = 0\nfor i in range(len(l)):\n ...
['Wrong Answer', 'Accepted']
['s063082868', 's817579329']
[3064.0, 3064.0]
[17.0, 17.0]
[440, 442]
p03076
u423852414
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)]\ndef amari(num):\n return num % 10\nb = list(map(amari, a))\nd = min(b)\nc = sum(a) - sum(b) + 40 + d\nprint(c)', 'a = [int(input()) for i in range(5)]\ndef amari(num):\n return num % 10\nb = list(map(amari, a))\nb_r = [10 if i == 0 else i for i in b]\nd = min(b_r)\nc = su...
['Wrong Answer', 'Accepted']
['s753124385', 's487575582']
[2940.0, 2940.0]
[17.0, 17.0]
[146, 189]
p03076
u424241608
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 ...
['arr = []\nfor _ in range(5):\n x = int(input())\n if 0 < x <= 10:arr.append(10)\n else:\n x//=10\n arr.append(x*10)\n \nprint(sum(arr))', 'parr = [int(input()) for _ in range(5)]\narr = []\n\nfor x in parr: \n if x%10 == 0:\n arr.append([0,x,x])\n else:\n arr.append([x%10, (x//10 + ...
['Wrong Answer', 'Accepted']
['s931800496', 's837094491']
[2940.0, 3316.0]
[18.0, 21.0]
[139, 389]
p03076
u425366405
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 -*-\ndct = {}\nd = {}\nd2 = {}\nll = [0,1,2,3,4]\n\nfor i in range(5):\n inp = int(input())\n dct[i] = int(inp/10)*10+10\n d[i] = inp % 10\n d2[i] = inp\n\nlast = sorted(d.items(), key=lambda x: x[1])[0][0]\n\nll.remove(last)\n\nans = d2[last]\n\nfor i in ll:\n ans += dct[i]\n\nprin...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s049480957', 's487419434', 's639955375']
[3064.0, 3064.0, 3064.0]
[17.0, 20.0, 17.0]
[304, 322, 413]
p03076
u425762225
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 comTime(x):\n return (x//10)*10 + 10\n\ndef solve(_l):\n s = 0\n l =sorted(_l, key=lambda x: x % 10 if x % 10 != 0 else 10)\n s += sum(map(comTime,l[1:])) + l[0]\n return s\n \n_l = [int(input()) for _ in range(5)]\nprint(solve(_l))', 'def comTime(x):\n return (x//10)*10 + 10\n\ndef solve(_l):\n s = 0\n ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s248149861', 's317720924', 's744625591', 's528963668']
[3060.0, 3060.0, 3060.0, 3060.0]
[17.0, 17.0, 18.0, 17.0]
[232, 209, 229, 249]