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 | u796563423 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=[]\ntotal=10\nc=0\nfor i in range(5):\n a=int(input())\n b=a%10\n if 0<b<9:\n if total>b:\n total=b\n c=i\n menu.append(a)\n else:\n menu.append(a+10-b)\n else:\n menu.append(a+10-b)\nprint(sum(menu))', 'menu=[]\ntotal=10\nc=0\nfor i in... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s795214881', 's826295245', 's684986421'] | [9148.0, 9172.0, 9104.0] | [27.0, 26.0, 26.0] | [267, 247, 443] |
p03076 | u796789068 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 i in range(5)]\na1=a//10\na2=a%10\nif a2==0:\n a1-=1\nb1=b//10\nb2=b%10\nif b2==0:\n b1-=1\nc1=c//10\nc2=c%10\nif c2==0:\n c1-=1\nd1=d//10\nd2=d%10\nif d2==0:\n d1-=1\nn=e//10\nm=e%10\nif m==0:\n n-=1\nmin1=min(a2,b2,c2,d2,m)\nif a1==0 or b1==0 or c1==0 or d1==0 or n==0:\n ... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s122975826', 's652041974', 's678576146', 's709263636', 's852462686', 's973507976', 's909132433'] | [3064.0, 3064.0, 3064.0, 3060.0, 3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0] | [378, 378, 432, 195, 342, 432, 338] |
p03076 | u797550216 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = [input() for i in range(5)]\n\na = []\n\nfor i in range(5):\n a.append(int(dish[i][-1]))\n\nr = []\n\nfor i in range(5):\n r.append(int(dish[i]))\n\nfor i in range(5):\n if i != a.index(min(a)):\n \n r[i] += 10 - a[i]\n\nprint(sum(r))\n \n ', 'dish = [input() for i in range(5)]\n\na = ... | ['Wrong Answer', 'Accepted'] | ['s944262688', 's797571831'] | [3060.0, 3064.0] | [17.0, 17.0] | [253, 303] |
p03076 | u800704240 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['ls = []\nmod = []\nfor i in range(5):\n ls.append(int(input()))\n mod.append(ls[i]%10)\n\ndef roundup(n):\n if n % 10 < 5:\n return round(n+4,-1)\n else:\n return round(n,-1)\n\n\nlast_index = mod.index(min(mod))\nsum = 0\nfor j in range(5):\n if j == last_index:\n sum += ls[j]\n ... | ['Wrong Answer', 'Accepted'] | ['s581384117', 's105734812'] | [3064.0, 3064.0] | [17.0, 18.0] | [349, 404] |
p03076 | u802977614 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a=[0]*5\na[0]=int(input())\na[1]=int(input())\na[2]=int(input())\na[3]=int(input())\na[4]=int(input())\namari=10\nfor i in range(5):\n if a[i]%10!=0:\n tmp=a[i]%10\n else:\n tmp=10\n amari=min(amari,tmp)\n a[i]=(int(a[i]/10) + 1)*10\nprint(sum(a)-10+amari)', 'a=[0]*5\na[0]=int(input())\na[1]=int(input())\na... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s305943736', 's667372839', 's924495700'] | [3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0] | [252, 263, 256] |
p03076 | u803617607 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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))\nX=[A,B,C,D,E]\ntime=0\nrest=[]\nfor i in range(5):\n time+=(X[i]//10+1)*10\n rest.append(X[i]%10)\ntime+=min(rest)\nprint(time)', 'A,B,C,D,E=(int(input()) for _ in range(5))\nX=[A,B,C,D,E]\ntime=0\nrest=[]\nfor i in range(5):\n time+=(X[i]//10+1)*10\n rest.appen... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s203946560', 's238836891', 's798008288', 's079480527'] | [3064.0, 3060.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0, 17.0] | [169, 176, 271, 229] |
p03076 | u804566868 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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_time = [0, 0, 0, 0, 0]\norder = len(order_time)\ntime = 0\nlast_order = 9\n\nfor i in range(0, order):\n order_time[i] = int(input())\n if (order_time[i] % 10 < last_order % 10):\n last_order = order_time[i]\n\nfor i in range(0, order):\n if (order_time[i] == last_order):\n continue\n ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s220857846', 's800088542', 's402089695'] | [3064.0, 3064.0, 3064.0] | [17.0, 17.0, 19.0] | [454, 508, 347] |
p03076 | u810075828 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = list()\ndish_num = 5\nfor i in range(dish_num):\n times.append(int(input()))\n\nlast = 0\nfor i in range(1, dish_num):\n if ((times[last]+9) % 10) > ((times[i]+9) % 10):\n last = i\n\nfor i in range(dish_num):\n if i != last:\n times[i] += (10 - times[i] % 10) % 10\n\nresult = 0\nfor t ... | ['Wrong Answer', 'Accepted'] | ['s095243523', 's480524736'] | [3064.0, 3064.0] | [17.0, 17.0] | [356, 343] |
p03076 | u810288681 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nfp = 10\nans = 0\nfor i in range(5):\n a = int(input())\n ans+= math.ceil(a/10)*10\n if a%10!=0:\n fp = min(fp, a%10)\nprint(ans+fp-10 if fp@!=10 else ans )', 'import math\nfp = 10\nans = 0\nfor i in range(5):\n a = int(input())\n ans+= math.ceil(a/10)*10\n if a%10!=0:\n fp =... | ['Runtime Error', 'Accepted'] | ['s595126666', 's167219810'] | [2940.0, 3188.0] | [17.0, 18.0] | [174, 178] |
p03076 | u810787773 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\n\nfor i in range(5):\n if A[i] % 10 == 0:\n ans += A[i]\n else:\n temp = (A//10)*10\n ans += temp\n\nprint(ans) ', 'A = [int(input()) for _ in range(5)]\nans = 0\ntemp2 = 10\n\nfor i in range(5):\n if A[i] % 10 == 0:\n ans += A[i]\n ... | ['Runtime Error', 'Accepted'] | ['s253415267', 's868142415'] | [2940.0, 3060.0] | [17.0, 17.0] | [177, 293] |
p03076 | u811169796 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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)]\ncnt = 0\nres = 9\nfor i in A:\n cnt += (i + 9)//10\n res = min(res,i%10)\n\nprint(cnt*10+res)\n', 'A = [int(input()) for i in range(5)]\ncnt = 0\nres = 0\nfor i in A:\n cnt += (i + 9)//10\n res = max(res,(10 - i % 10)%10)\n\nprint(cnt*10-res)\n'] | ['Wrong Answer', 'Accepted'] | ['s597786995', 's564372452'] | [2940.0, 2940.0] | [19.0, 18.0] | [127, 139] |
p03076 | u814265211 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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(map(int, [input() for i in range(5)]))\nb = [math.ceil(b / 10) * 10 for b in a]\n\nc1 = b[0] + b[1] + b[2] + b[3] + a[4]\nc2 = b[0] + b[1] + b[2] + a[3] + b[4]\nc3 = b[0] + b[1] + a[2] + b[3] + b[4]\nc4 = b[0] + a[1] + b[2] + b[3] + b[4]\nc5 = a[0] + b[1] + b[2] + b[3] + b[4]\n\nprint(min([c1, c2, c3, c4, c5... | ['Runtime Error', 'Accepted'] | ['s290661411', 's758331255'] | [3064.0, 9176.0] | [17.0, 31.0] | [312, 201] |
p03076 | u814663076 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 _ in range(5)]\n\nm = 0\nfor i, d in enumerate(data):\n a = 10 - d % 10\n if a == 10:\n a = 0\n m = max(a, m)\n data[i] = d + m\n \nprint(sum(data) - a)', 'data = [int(input()) for _ in range(5)]\n\na = 0\nfor i, d in enumerate(data):\n a = max(10 - d % 10, a)\n da... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s072816816', 's650029747', 's476621512'] | [3060.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0] | [189, 161, 189] |
p03076 | u814986259 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\ndishes =[0]*5\nfor i in range(5):\n dishes[i]=math.celi(int(input()))\n\nprint(sum(dishes))', 'import math\nabcde = [int(input()) for i in range(5)]\n\nabcde.sort(key=lambda x: (x % 10))\n\nflag = False\nans = 0\nfor x in abcde:\n if x % 10 == 0 or flag:\n if x % 10 == 0:\n ans += x... | ['Runtime Error', 'Accepted'] | ['s047453586', 's656170510'] | [3060.0, 3060.0] | [17.0, 17.0] | [100, 306] |
p03076 | u816732092 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nl = np.zeros(5)\nt = np.zeros(5)\nk = True\nfor i in range(5):\n l[i] = int(input())\n t[i] = l[i] - (l[i]//10)*10\n if t[i] != 0 :\n k = False\nt.sort()\nl = np.ceil(l/10)*10\nif k :\n ans = int(np.sum(l)+t[0])\nelse :\n ans = int(np.sum(l)+t[0])-10\nprint(ans)\n\n\n', 'impo... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s732813199', 's917318646', 's434911148'] | [13456.0, 12496.0, 12396.0] | [150.0, 148.0, 149.0] | [292, 195, 352] |
p03076 | u820052258 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 i in range(5)]\nk = []\nj=[]\nfor i in range(5):\n j.append(-(-m[i]//10)*10)\n k.append(m[i] - (m[i]//10)*10)\nif min(k) == 0:\n print(sum(j))\nelse:\n print(sum(j)-(10-min(k)))', 'm=[int(input()) for i in range(5)]\nk = []\nj=[]\nfor i in range(5):\n j.append(-(-m[i]//10)*10)\n ... | ['Wrong Answer', 'Accepted'] | ['s712804700', 's159221938'] | [3060.0, 3316.0] | [17.0, 24.0] | [200, 232] |
p03076 | u821084099 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import itertools\n\ndon = [int(input()) for i in range(5)]\n\nfinal_time = inf\nfor v in itertools.permutations(don):\n time = 0\n for j in v:\n while(time % 10 != 0):\n time += 1\n time += j\n final_time = min(final_time, time)\nprint(final_time)\n', "import itertools\n\ndon = [int(input()) for i in ra... | ['Runtime Error', 'Accepted'] | ['s678692385', 's799052936'] | [3060.0, 3060.0] | [18.0, 18.0] | [250, 258] |
p03076 | u821251381 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\norder= []\nfor i in range(5):\n order.append(input())\n \nmin1 = 9\narg_min1 = 0\nfor i in range(5):\n #print(order[i][len(order[i])-1],len(order[i]),order[i])\n if int(order[i][-1]) < min1 and int(order[i][-1]) > 0:\n #print(int(order[i][-1]))\n min1 = int(order[i... | ['Wrong Answer', 'Accepted'] | ['s951530274', 's105400379'] | [3064.0, 3064.0] | [17.0, 17.0] | [799, 800] |
p03076 | u821432765 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['d=[int(input()) for i in range(5)]\nd2=[j+(10-j%10) for j in d]\nd_mod=[10-k%10 for k in d]\nans=sum(d2)-max(d_mod)\nprint(ans)', 'd=[int(input()) for i in range(5)]\nd2=[]\nd_mod=[]\nfor j in d:\n if j%10 != 0:\n add=10-j%10\n j=j+10-j%10\n else:\n add=0\n d_mod.append(add)\n d2.append(j)\nprint(sum(d2)... | ['Wrong Answer', 'Accepted'] | ['s509567247', 's535730423'] | [2940.0, 3060.0] | [17.0, 17.0] | [123, 188] |
p03076 | u821775079 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=[]\nfor i in range(5):\n l=l+[int(input())]\n\ntemp=[10-i for i in l if i%10!=0]\n\nprint(sum(l)-max(li))', 'import math\nl=[]\nfor i in range(5):\n l=l+[int(input())]\n\nli=[i%10 for i in l]\nminimum=min(li)\nans=l.pop(li.index(minimum))\nfor i in l:\n ans+=math.ceil(i/10)*10\n\nprint(ans)', 'impor... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s167886645', 's547596628', 's776759696', 's017355817'] | [2940.0, 3064.0, 3060.0, 3188.0] | [17.0, 17.0, 17.0, 18.0] | [114, 173, 202, 167] |
p03076 | u822662438 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = []\nfor i in range(5):\n li.append(int(input()))\n\nli2 = [];ans = 0\nfor i in li:\n if i%10 == 0:\n ans += i\n else:\n ans += i + (10-i%10)\n li2.append(i%10)\nif li2 != []:\n ans += 10-min(li2)\n\nprint(ans)\n\n', 'li = []\nfor i in range(5):\n li.append(int(input()))\n\nli2... | ['Wrong Answer', 'Accepted'] | ['s318474361', 's968977617'] | [3060.0, 2940.0] | [17.0, 17.0] | [235, 235] |
p03076 | u823871776 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\n\n\na1 = a%10\nb1 = b%10\nc1 = c%10\nd1 = d%10\ne1 = e%10\n\ntimes = [a,b,c,d,e]\nones = [a1,b1,c1,d1,e1]\n\n\n\n\nones = [10 if i==0 else i for i in ones]\n\nsum = 0\n\nmin_index = ones.index(min(ones))\nsum += times[min_inde... | ['Wrong Answer', 'Accepted'] | ['s147397392', 's251349904'] | [3064.0, 3064.0] | [17.0, 17.0] | [564, 552] |
p03076 | u823885866 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ["import sys\nimport math\nimport itertools\nimport collections\nimport heapq\nimport re\nimport numpy as np\n\nrr = lambda: sys.stdin.readline().rstrip()\nrs = lambda: sys.stdin.readline().split()\nri = lambda: int(sys.stdin.readline())\nrm = lambda: map(int, sys.stdin.readline().split())\nrl = lambda: list(map(int, s... | ['Runtime Error', 'Accepted'] | ['s449510722', 's203790384'] | [27216.0, 26880.0] | [114.0, 118.0] | [544, 549] |
p03076 | u825378567 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=10\nsum=0\nfor _ in range(5):\n a=int(input())\n sum += (a-a%10)\n if b>(a%10):\n b=a%10\nsum+=40+b\nprint(sum)\n', 'b=10\nsum=0\nfor _ in range(5):\n\ta=int(input())\n sum+=a-a%10\n \tif b>a:\n b=a\nsum+=40+b\nprint(sum)', 'b=10\nsum=0\nfor _ in range(5):\n a=int(input())\n if a%10 !=0:\n sum... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s402340890', 's521241642', 's759327102', 's687508986'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [112, 103, 156, 162] |
p03076 | u826929627 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\nlist_inp = [a,b,c,d,e]\nmin_last = 9\nfor index, inp in enumerate(list_inp):\n tmp = int(str(inp)[-1])\n if tmp == 0:\n continue\n \n if tmp <= min_last:\n min_last = index\n\n\n \n\ndef ceil(src, range):\n ret... | ['Runtime Error', 'Accepted'] | ['s427404555', 's393659487'] | [3064.0, 3064.0] | [17.0, 17.0] | [504, 690] |
p03076 | u826986938 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['from sys import stdin\n\nx = []\nx.append(int(stdin.readline().rstrip()))\nx.append(int(stdin.readline().rstrip()))\nx.append(int(stdin.readline().rstrip()))\nx.append(int(stdin.readline().rstrip()))\nx.append(int(stdin.readline().rstrip()))\n\ntime = []\nmin = 0\nfor i in range(0,5):\n time.append(x[i] - (x[i]%10... | ['Wrong Answer', 'Accepted'] | ['s786014301', 's151331714'] | [3064.0, 3064.0] | [17.0, 17.0] | [469, 531] |
p03076 | u827141374 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['A = [0] * 5\nA[0] = int(input())\nA[1] = int(input())\nA[2] = int(input())\nA[3] = int(input())\nA[4] = int(input())\nans = 0\nmin1 = 10\nfor i in range(0,5):\n m = A[i] % 10\n if ((m > 0) and (m < min1)):\n min1 = m \n ans += math.ceil(A[i] / 10) * 10\nprint(ans - (10 - min1))\n', 'A = [0] * 5... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s073007891', 's739285764', 's996307817', 's577761141'] | [3064.0, 3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0, 17.0] | [289, 280, 287, 300] |
p03076 | u827885761 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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)]\nLL = [i % 10 for i in L]\nif LL == [0] * 5:\n print(sum(L))\nelse:\n L2 = LL[:]\n while 0 in L2:\n L2.remove(0)\n ma = min(L2)\n r = LL.index(ma)\n print(ma)\n print(L[r] + sum([L[i] if L[i] % 10 == 0 else L[i] + 10 - L[i] % 10 for i in [j for j in ran... | ['Wrong Answer', 'Accepted'] | ['s989872763', 's906340695'] | [3064.0, 3064.0] | [17.0, 17.0] | [327, 313] |
p03076 | u828036666 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\ndef ABC123B():\n T = [int(input()) for _ in range(5)]\n templist = itertools.permutations(T)\n mint = 644\n for l in templist:\n time = 0\n\n for t in l:\n if time % 10 !=0:\n time += 10 - time % 10\n time += t\n\n mint = min(mint... | ['Wrong Answer', 'Accepted'] | ['s528316375', 's257313937'] | [3188.0, 3060.0] | [18.0, 19.0] | [341, 340] |
p03076 | u829369995 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [int(input()) for i in range(5)]\nb = [g%10 for g in a]\nkkk = 9\nh = 0\nfor i in range(len(a)):\n g = a[i] % 10\n if g > 0 and g < kkk:\n kkk = g\n h = i\nl = a[h]\na.pop(h)\na.append(l)\nprint(a)\ntotal = 0\nfor i in a:\n if total % 10 != 0:\n total += 10 - (total % 10)\n total ... | ['Wrong Answer', 'Accepted'] | ['s053357656', 's654228440'] | [3064.0, 3064.0] | [20.0, 17.0] | [320, 311] |
p03076 | u831084614 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = int(0.1*A)\nb = int(0.1*B)\nc = int(0.1*C)\nd = int(0.1*D)\ne = int(0.1*E)\nt_1 = 10*(a+b+c+d) + E\nt_2 = 10*(b+c+d+e) + A\nt_3 = 10*(c+d+e+a) + B\nt_4 = 10*(d+e+a+b) + C\nt_5 = 10*(e+a+b+a) + D\nprint(min([t_1,t_2,t_3,t_4,t... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s104677409', 's490193155', 's522798933', 's384936818'] | [3064.0, 3064.0, 3064.0, 3064.0] | [17.0, 18.0, 17.0, 17.0] | [308, 328, 356, 328] |
p03076 | u832039789 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 n = int(input())\n lst.append([(n + 1) % 10, n])\nlst = sorted(lst)\n\nres = 0\nfor i in range(5):\n if i == 0:\n res += lst[i][1]\n else:\n res += (lst[i][1] + 9) // 10 * 10\nprint(res)\n', 'lst = []\nfor i in range(5):\n n = int(input())\n lst.append([n % 10, n])\nlst = so... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s093859169', 's295497472', 's917435891'] | [3060.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [216, 209, 145] |
p03076 | u833543158 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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())\nraws = [A, B, C, D, E]\nresidues = [A % 10, B % 10, C % 10, D % 10, E % 10]\nans = 0\nlastDish = residues.index(min(residues))\nfor i in range(len(raws)):\n if i != lastDish:\n ans += math.ceil(raws[i] / 1... | ['Wrong Answer', 'Accepted'] | ['s632161797', 's284886727'] | [3064.0, 3064.0] | [18.0, 17.0] | [358, 432] |
p03076 | u834983620 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['aaa = [int(input()) for i in range(5)]\n\ni = list()\nb = 0\nfor a in aaa:\n n = 0\n n = 10 - int(str(a)[-1])\n if n % 10 != 0:i.append(n)\nprint(i)\nprint(sum(aaa) + sum(i) - max(i))', 'aaa = [int(input()) for i in range(5)]\n\ni = list()\nb = 0\nfor a in aaa:\n n = 0\n n = 10 - int(str(a)[-1])\n if n % 10 != ... | ['Runtime Error', 'Accepted'] | ['s535744497', 's610695845'] | [3060.0, 3064.0] | [17.0, 18.0] | [177, 211] |
p03076 | u836737505 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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)]\nA = [j%10 for j in a if j%10 != 0]\nif A:p=sum(A)\nelse:p=0\nb = sum([((k//10)+1)*10 for k in a if k%10 != 0])\nb += sum([l for l in a if l%10 ==0])\nif p:print(b-(10-p))\nelse:print(b)', 'l = [int(input()) for _ in range(5)]\nl.sort(key=lambda x: 10 if x%10==0 else x%10)\nl = l[... | ['Wrong Answer', 'Accepted'] | ['s568927034', 's151246452'] | [3064.0, 3060.0] | [18.0, 17.0] | [216, 224] |
p03076 | u842388336 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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_list = []\nloss_time_list = []\nfor i in range(5):\n time_list.append(int(input()))\n loss_time_list.append(10-time_list[i]%10)\n \nprint(sum(time_list)+sum(loss_time_list)-max(loss_time_list))\n', 'time_list = []\nloss_time_list = []\nfor i in range(5):\n time_list.append(int(input()))\n loss_time_list.app... | ['Wrong Answer', 'Accepted'] | ['s893209291', 's426496492'] | [2940.0, 2940.0] | [17.0, 17.0] | [196, 221] |
p03076 | u843135954 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nstdin = sys.stdin\n \nni = lambda: int(ns())\nna = lambda: list(map(int, stdin.readline().split()))\nnn = lambda: list(stdin.readline().split())\nns = lambda: stdin.readline().rstrip()\n\na = ni()\nb = ni()\nc = ni()\nd = ni()\ne = ni()\n\nf = min(a%10,b%10,c%10,d%10,e%10)\n\nans = (a+9)//10+(b+9)//10+(c+... | ['Wrong Answer', 'Accepted'] | ['s523140018', 's381031245'] | [3064.0, 3064.0] | [17.0, 17.0] | [348, 367] |
p03076 | u843318346 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = [0]*5\nfor i in range(5):\n arr[i] = int(input())\ntime = 0\nfor ar in arr:\n time += -(-ar//10)\namari = []\nfor i in arr:\n amari.append(i%10)\namari.sort()\nprint(time - (10-amari[0])', 'arr = [0]*5\nfor i in range(5):\n arr[i] = int(input())\ntime = 0\nfor ar in arr:\n time += (-(-ar//10))*10\namar... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s058534205', 's618701435', 's407081120'] | [2940.0, 3064.0, 3060.0] | [18.0, 17.0, 17.0] | [185, 197, 273] |
p03076 | u844123804 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = []\nfor i in range(5):\n time.append(int(input()))\n \ntime_diff = [10-(i%10) for i in time]\ntime_ten = [i+10-i%10 for i in time]\n\nmax_diff = time_diff.index(max(time_diff))\n\nans = sum(time_ten) - time_ten[max_diff] + time[max_diff]\n\nprint(ans)', 'time = []\nfor i in range(5):\n time.append(int(input... | ['Wrong Answer', 'Accepted'] | ['s695043403', 's285648219'] | [3060.0, 3060.0] | [17.0, 17.0] | [249, 260] |
p03076 | u845620905 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nl = [a, b, c, d, e]\ntotal = []\nfor v in itertools.permutations(l):\n print(v)\n nl = list(v)\n t = 0\n for num in range(len(nl)):\n if(num != 4 and nl[num] % 10 != 0):\n print(in... | ['Wrong Answer', 'Accepted'] | ['s587495656', 's079120791'] | [3188.0, 3064.0] | [19.0, 17.0] | [520, 407] |
p03076 | u848882989 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nargs = [int(input()) for i in range(5)]\n#args = [29,20,7,35,120]\nsmallest = 10\ni = 0\nsum = 0\narg_num = 0\n\nfor tmp in args[:4]:\n if tmp % 10 < smallest:\n if tmp % 10 != 0:\n smallest = tmp % 10\n arg_num = i\n i+=1\n\nprint("smallest:" + str(arg_num))\n\nfor i ... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s760066247', 's924521003', 's806996679'] | [3064.0, 3064.0, 3064.0] | [17.0, 18.0, 18.0] | [497, 497, 499] |
p03076 | u857070771 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=[]\ncnt=0\nfor i in range(5):\n x=int(input())\n menu.append(x)\nm10=[i % 10 for i in m if i %10 >=1]\nt=min(m10)\nfor i in m:\n if i %10==0:\n cnt += i\n else:\n cnt += ((i//10)+1)*10\nprint(cnt-10+t)', 'm=[]\ncnt=0\nfor i in range(5):\n x=int(input())\n m.append(x)\nm10=[i % 10 for... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s128585105', 's259544374', 's908023674', 's209653991'] | [3064.0, 3060.0, 3064.0, 3060.0] | [17.0, 17.0, 17.0, 18.0] | [217, 274, 214, 274] |
p03076 | u864047888 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=[]\nfor i in range(5):\n temp=[]\n temp.append(int(input()))\n if temp[0]%10==0:\n temp.append(0)\n else:\n temp.append(10-temp[0]%10)\n time.append(temp)\nprint(time)\ntime=sorted(time,key=lambda x:x[1])\nprint(time)\nsum=0\nfor i in range(5):\n sum+=time[i][0]\n sum+=time[i][... | ['Wrong Answer', 'Accepted'] | ['s049287530', 's972555800'] | [3064.0, 3064.0] | [18.0, 17.0] | [327, 303] |
p03076 | u868600519 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = list(map(int, (input() for _ in range(5))))\nT2 = [math.ceil(t / 10) * 10 for t in T]\nm = max(t2 - t for t, t2 in zip(T, T2))\nprint(sum(T2) - m)', 'import math\n \nT = list(map(int, (input() for _ in range(5))))\nT2 = [math.ceil(t / 10) * 10 for t in T]\nm = max(t2 - t for t, t2 in zip(T, T2))\nprint(sum(T2) - ... | ['Runtime Error', 'Accepted'] | ['s179533076', 's051956270'] | [3056.0, 3060.0] | [17.0, 18.0] | [147, 161] |
p03076 | u869265610 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=[int(input()) for _ in range(5)]\nans=0\nc=10\nfor i in range(5):\n c=min(K[i]%10,c)\nfor k in range(5):\n ans+=(K[k]//10)*10+10\nprint(ans-10+c)', 'K=[int(input()) for _ in range(5)]\nans=0\nc=10\nfor i in range(5):\n r=K[i]%10\n if r==0:\n r=10\n c=min(r,c)\nfor k in range(5):\n if K[k]%10==0:\n ans+=... | ['Wrong Answer', 'Accepted'] | ['s325909358', 's136032020'] | [9092.0, 9160.0] | [28.0, 29.0] | [142, 209] |
p03076 | u870062840 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 numpy as np\nimport math\n\ndef ReadInputNum():\n input_num=[]\n for i in range(5):\n input_num.append(int(input()))\n return tuple(input_num)\n\ndef CheckRangeInput(*argv):\n for num in argv:\n if num<=123 and isinstance(num,int):\n pass\n # print("g... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s181900228', 's219039796', 's659454991', 's879606471', 's992691074', 's581617299'] | [12232.0, 21144.0, 3064.0, 12452.0, 12508.0, 20868.0] | [149.0, 338.0, 18.0, 153.0, 155.0, 303.0] | [1782, 1041, 2078, 2472, 1970, 2474] |
p03076 | u870518235 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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)]\n\nlst1 = []\nlst2 = []\nfor i in range(5):\n if T[i]%10 == 0:\n lst1.append([0,T[i]])\n else:\n lst2.append([T[i]%10,T[i]])\n\nlst2 = sorted(lst2, reverse=True)\nlst = lst1 + lst2\nprint(lst)\n\nans = 0\nfor i in range(5):\n ans += lst[i][1]\n if lst[i][... | ['Wrong Answer', 'Accepted'] | ['s957930929', 's564352876'] | [9076.0, 9104.0] | [28.0, 29.0] | [398, 425] |
p03076 | u870793476 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\ndish = [ int(input()) for i in range(5) ]\nsum = sum([ math.ceil(d/10)*10 for d in dish])\nmin = min([d%10 for d in dish])\n\nif min == 0:\n print(sum)\nelse:\n print(sum + min - 10)\n', 'import math\n\ndish = [ int(input()) for i in range(5) ]\nprint(sum([ math.ceil(d/10)*10 for d in dish]) + mi... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s305407229', 's698264922', 's288012190'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [195, 135, 204] |
p03076 | u872030436 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['atoe =[int(input()),int(input()),int(input()),int(input()),int(input())]\n\nmaxNum = 5\nwrap = 0\natoe = sorted(atoe, key=lambda x: -10 if x%10==0 else -(x%10))\nfor i in range(0, maxNum-1):\n if atoe[i] % 10 == 0:\n step = atoe[i]\n else:\n step = (atoe[i] // 10 + 1) * 10\n print(atoe[i], step... | ['Wrong Answer', 'Accepted'] | ['s726588048', 's861315387'] | [3064.0, 3064.0] | [18.0, 17.0] | [363, 364] |
p03076 | u874333466 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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_list = [a,b,c,d,e]\nmin_q = [(a%10),(b%10),(c%10),(d%10),(e%10)]\nq_min = min(min_q)\nmin_index = min_q.index(q_min)\nnew_min = min_list.pop(min_index)\n\nminute = 0\nfor i in range(len(new_min)):\n if (new_min[i]%10)==0:\n ... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s084040083', 's197067790', 's202215457', 's274998741', 's312435323', 's499608806', 's528012569', 's750438855', 's957831037'] | [3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 3060.0, 3064.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [431, 434, 436, 352, 302, 274, 422, 295, 580] |
p03076 | u875028418 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=[int(input()) for i in range(5)]\nremain=[(dish[i]-1)%10 for i in range(5)]\ndivide=[(dish[i]-1)//10+1 for i in range(5)]\na=sorted(remain)[0]\nprint(a)\nprint(sum(divide)*10-9+a)\nprint(sum(divide))', 'dish=[int(input()) for i in range(5)]\nremain=[(dish[i]-1)%10 for i in range(5)]\ndivide=[(dish[i]-1)//10+1 fo... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s268966448', 's485468082', 's135925623'] | [3064.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [198, 171, 132] |
p03076 | u875855656 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 _ in range(5))\ns=list(10-i%10 for i in l)\ns.remove(max(s))\nprint(sum(l)+sum(s))', 'l=list(int(input()) for _ in range(5))\ns=list(10-i%10 for i in l)\nfor i in range(s.count(10)):\n s.remove(10)\nif len(s)>0:\n s.remove(max(s))\nprint(sum(l)+sum(s))'] | ['Wrong Answer', 'Accepted'] | ['s343209052', 's612921246'] | [3064.0, 3060.0] | [21.0, 17.0] | [103, 162] |
p03076 | u882359130 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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())\nT = [a, b, c, d, e]\nA = []\nmax_tt = 0\nfor i in range(len(T)):\n t = (T[i]//10 + 1) * 10\n A.append(t)\n tt = t - T[i]\n if max_tt < tt:\n max_tt = tt\nprint(sum(A)-max_tt)', 'a = int(input())\nb = int(input())\nc = int... | ['Wrong Answer', 'Accepted'] | ['s715694896', 's966407377'] | [3064.0, 3064.0] | [17.0, 17.0] | [257, 299] |
p03076 | u882620594 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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()))\nichi = 0\nfor i in range(1,5):\n if dish[i]%10 > 0 and dish[ichi] % 10 > dish[i] % 10:\n ichi = i\nprint(str(ichi))\nfor i in range(5):\n if i != ichi and dish[i]%10 > 0:\n dish[i] += 10 - dish[i]%10\nprint(sum(dish))', 'dish = []\nfor ... | ['Wrong Answer', 'Accepted'] | ['s155604470', 's603684997'] | [3060.0, 3060.0] | [17.0, 17.0] | [288, 271] |
p03076 | u885523920 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\ns=0\namari=[a%10,b%10,c%10,d%10,e%10]\nmaxi=max(amari)\ndish=[a,b,c,d,e]\nfor i in range(5):\n if dish[i]%10==0:\n s=s+dish[i]\n else:\n s=s+dish[i]+10-dish[i]%10\nif maxi==0:\n print(s)\nelse:\n print(s-10+maxi)\n', 'a=int(inpu... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s122630406', 's540886217', 's649268158', 's841175673', 's572680539'] | [3064.0, 3064.0, 3064.0, 3064.0, 3064.0] | [19.0, 18.0, 17.0, 18.0, 17.0] | [286, 292, 254, 286, 332] |
p03076 | u886288914 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['ryouri = [int(input()) for i in range(5)]\n\norder_1 = [(i-1)*0.1 - int((i-1)*0.1) for i in ryouri]\nmin_v = sorted(order_1)[0]\nmin_id = 0\nfor i, v in enumerate(order_1):\n if v == min_v:\n min_id = i\n\ngoukei = 0\nfor i, (price, order) in enumerate(zip(ryouri, order_1)):\n if i == min_id:\n go... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s962411170', 's981295866', 's996931644'] | [3064.0, 3060.0, 3064.0] | [17.0, 17.0, 19.0] | [390, 370, 417] |
p03076 | u888610038 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 i in range(5)]\na1=a%10\nb1=b%10\nc1=c%10\nd1=d%10\ne1=e%10\nA=[a1,b1,c1,d1,e1]\ncnt=(a//10 + b//10+c//10+d//10+e//10)*10+40+min(A)\nprint(cnt)', 'a,b,c,d,e=[int(input()) for i in range(5)]\na1=a%10\nb1=b%10\nc1=c%10\nd1=d%10\ne1=e%10\nA=[a1,b1,c1,d1,e1]\nfor i in range(5):\n if 0 in A:\n... | ['Wrong Answer', 'Accepted'] | ['s355590328', 's004561496'] | [3060.0, 3064.0] | [17.0, 17.0] | [163, 308] |
p03076 | u891218252 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\ntime_list = list()\n\nfor _ in range(5):\n time_list.append(int(input()))\n\n\ndef key_func(x):\n if x < 100: \n if x % 10 == 0:\n return 10\n return x % 10 \n else:\n if x % 100 == 0:\n return 10\n return x % 100 \n\n\ntime_list.sort(key=ke... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s039938039', 's291519391', 's978965079', 's509529704'] | [3060.0, 3060.0, 3060.0, 3060.0] | [17.0, 18.0, 17.0, 17.0] | [587, 560, 276, 346] |
p03076 | u893828545 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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())\nimport numpy as np\nnum=[a,b,c,d,e]\nresi=[i%10 for i in num]\nx=np.argsort(resi)\nminnum=num[x[0]]\ndel(num[x[0]])\nsumnum=sum([((i//10)+1)*10 for i in num])\nres=sumnum+minnum\nprint(res)', 'a=int(input())\nb=int(input())\nc=int(input()... | ['Wrong Answer', 'Accepted'] | ['s734920901', 's108527563'] | [12504.0, 12512.0] | [151.0, 150.0] | [256, 297] |
p03076 | u894953648 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=[];timeloss=[];ans=0\nfor i in range(5):\n a=input()\n if a[-1]==0:\n ans+=int(a)\n else:\n time.append(int(a))\n timeloss.append(10-int(a[-1]))\nfor i in range(5):\n for i in range(5):\n if timeloss[i]==min(timeloss):\n ans+=time[i]\n ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s297887067', 's951011630', 's551272074'] | [3064.0, 3064.0, 3060.0] | [17.0, 17.0, 17.0] | [425, 436, 439] |
p03076 | u896271080 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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_d = []\nfor i in l:\n if i % 10 == 0:\n l_d.append(0)\n else:\n n = (i//10+1)*10 - i\n l_d.append(n)\nc = []\nfor i, j in zip(l_d, l):\n c.append([i, j])\n \nfrom operator import itemgetter\nc.sort(key=itemgetter(0))\na, b = zip(*c)\nd = list(b)\nfor n, i in enumer... | ['Wrong Answer', 'Accepted'] | ['s606101108', 's584201924'] | [3064.0, 3064.0] | [18.0, 17.0] | [394, 401] |
p03076 | u896430034 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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)]\na=[0, 0, 0, 0, 0]\ne=9\nfor i in range(5):\n if e >= int(l[i][-1]) and not(int(l[i][-1]) == 0):\n a[4] = l[i]\n\nl.remove(a[4])\nl = [int(i) for i in l]\nfor j in range(4):\n while(not(int(l[j]) % 10 is 0)):\n l[j]+=1\n a[j] = int(l[j])\na[4] = int(a[4])\nprint(sum(a))\nprint... | ['Runtime Error', 'Accepted'] | ['s314371907', 's408703207'] | [3064.0, 3064.0] | [17.0, 17.0] | [309, 352] |
p03076 | u897329068 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 ceil(v):\n\tif v % 10 == 0:\n\t\treturn v\n\telse:\n\t\treturn (v // 10+1) *10\n\nA = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\n\ntimes = [A,B,C,D,E]\n\nminMod = 9\nlast = -1\nfor time in times:\n\tif minMod > (time+9) % 10:\n\t\tminMod = (time+9) % 10\n\t\tlast = time\... | ['Runtime Error', 'Accepted'] | ['s547241429', 's588798600'] | [3064.0, 3064.0] | [17.0, 18.0] | [418, 411] |
p03076 | u898967808 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = [int(input()) for _ in range(5)]\nb = min([i%10 for i in a if i%10 != 0],0)\nprint(sum([((i + 9)//10 *10) for i in a]) - (10-b) )', 'a = [int(input()) for _ in range(5)]\nb = [i%10 for i in a if i%10 !=0]\nif len(b)==0:\n b=0\nelse:\n b= 10 - min(b)\nprint(sum([((i + 9)//10 *10) for i in a]) - b)'] | ['Runtime Error', 'Accepted'] | ['s525126690', 's547771910'] | [2940.0, 3060.0] | [17.0, 17.0] | [132, 161] |
p03076 | u899929023 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import math\n\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\na_div=math.floor(a/10)\na_res = a%10\nif a_res == 0:\n a_res=10\n\nb_div=math.floor(b/10)\nb_res = b%10\nif b_res == 0:\n b_res=10\n\nc_div=math.floor(c/10)\nc_res = c%10\nif c_res == 0:\n c_res=10\n\nd_div=math.fl... | ['Wrong Answer', 'Accepted'] | ['s835740432', 's235186445'] | [3064.0, 3060.0] | [19.0, 17.0] | [516, 284] |
p03076 | u899975427 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['an = [int(input()) for i in range(5)]\ntotal = 0\n\nfor i in range(5):\n tot = (an[i] // 10) * 10\n an[i] -= tot\n total += tot\n if an[i] == 0:\n del an[i]\nif an:\n total += min(an) + (len(an) - 1)*10\nprint(total)', 'an = [int(input()) for i in range(5)]\ntotal = 0\n\nfor i in range(5):\n tot = (an[i] // ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s242897404', 's401223482', 's975724477', 's989344134'] | [3060.0, 3060.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0, 17.0] | [213, 209, 222, 197] |
p03076 | u902151549 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nimport time\nimport re\nimport math\nimport fractions\n\ndef main():\n lst=[int(input()) for a in range(5)]\n index=0\n mn=1e9\n for a in range(len(lst)):\n if lst[a]<mn:\n mn=lst[a]\n index=a\n print(sum(list(map(lambda x:math.ceil(x/10)*10,lst)))-(10-mn%1... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s063132896', 's134741250', 's161842894', 's185579959', 's213079466', 's516657981', 's784233607', 's877041945', 's983490008', 's770824328'] | [5064.0, 5060.0, 5064.0, 5060.0, 5060.0, 5088.0, 5064.0, 5064.0, 5064.0, 5060.0] | [35.0, 37.0, 36.0, 36.0, 36.0, 36.0, 36.0, 37.0, 36.0, 35.0] | [528, 673, 535, 521, 528, 647, 535, 535, 530, 681] |
p03076 | u902693400 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=[]\nmindiv=10\n\nfor i in range(5):\n dishes.append(int(input()))\n\nfor j in range(len(dishes)):\n k= dishes[j]\n if(k%10 ==0 ):\n continue\n if(k%10 <mindiv):\n mindiv= k%10\n if(k%10 <5 ):\n k += 5\n dishes[j]= round(k,-1)\n \nprint(dishes)\nprint(mindiv)\nprint(sum(dishes)-(10-mindiv))', 'd... | ['Wrong Answer', 'Accepted'] | ['s420093305', 's690618076'] | [3064.0, 3060.0] | [17.0, 17.0] | [295, 300] |
p03076 | u902973687 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = [n % 10 % 100 for n in L]\ni = l.index(min(l))\n\nans = sum([n + (10 - ((n % 10) % 100)) for n in L]) - ((10 - ((L[i] % 10) % 100)) + L[i]) + L[i]\nprint(ans)\n', 'L = [int(input()) for i in range(5)]\nl = [n % 10 if not (n % 10 == 0) else 100 for n in L]\ni = l.index(min(l))... | ['Wrong Answer', 'Accepted'] | ['s790841504', 's083317927'] | [3060.0, 3060.0] | [17.0, 19.0] | [196, 293] |
p03076 | u903596281 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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(input())\nA.sort(key=lambda x:x[-1])\nans=0\nA=[int(x) for x in A]\nfor i in range(1,5):\n ans+=A[i]//10*10\n ans+=0 if A[i]%10==0 else 10\nprint(ans+A[0])', 'A=[]\nfor i in range(5):\n A.append(input())\nA.sort(key=lambda x:(int(x[-1])-1)%10)\nans=0\nA=[int(x) for x in A]\nfor... | ['Wrong Answer', 'Accepted'] | ['s266924714', 's425671111'] | [3064.0, 3064.0] | [17.0, 17.0] | [185, 197] |
p03076 | u904943473 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['array1 = [int(input()) for i in range(5)]\narray2 = [i % 10 for i in array1]\narray3 = [i for i in array2 if i != 0]\nidx = array3.index(min(array3))\nsum1 = 0\nsum2 = sum(array2)\nfor k, i in enumerate(array3):\n if (k == idx):\n sum1 += i\n else:\n sum1 += i + (10 - i % 10)\nprint(sum1 + sum2)', 'array = [i... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s262301478', 's451892963', 's559006685', 's611335732', 's973713883', 's911937044'] | [3064.0, 2940.0, 2940.0, 2940.0, 3060.0, 3064.0] | [17.0, 17.0, 17.0, 18.0, 17.0, 19.0] | [293, 255, 342, 378, 255, 377] |
p03076 | u905582793 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nd1 = 9\nfor i in range(5):\n ans += a[i]//10*10\n d1=min(d1,a[i]%10)\nprint(ans+40+d1)', 'a=[int(input()) for i in range(5)]\nans = 0\nd1 = 10\nfor i in range(5):\n ans += (a[i]+9)//10*10\n if a[i]%10:\n d1=min(d1,a[i]%10)\nif d1!=10:\n print(ans+d1)\nif d1==10:\n ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s030705290', 's383100823', 's818927463'] | [3060.0, 3060.0, 3060.0] | [17.0, 17.0, 18.0] | [127, 182, 148] |
p03076 | u905715926 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = []\nfor i in range(5):\n li.append(int(input()))\nmi = 1e10\nans = 0\nfor i in range(5):\n ans+=(li[i]//10+1)*(10)\n mi = min(mi,li[i]%10)\nprint(ans - 10 + mi)\n', 'li = []\nfor i in range(5):\n li.append(int(input()))\nmi = 1e10\nans = 0\nfor i in range(5):\n ans+=(li[i]//10)*(10+(li[i]%10!=0))\n if li[i... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s018270002', 's212484201', 's262504162', 's163920712'] | [2940.0, 3060.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0, 17.0] | [161, 194, 159, 190] |
p03076 | u909991537 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\ni = 0\nj = 0\n\nnums = []\nfirst_digits = []\nmin_first_digit = 9\nindex = 0\nsum = 0\n\nwhile i < 5:\n x = int(input())\n nums.append(x)\n \n if x % 10 <= min_first_digit and x % 10 != 0:\n min_first_digit = x % 10\n index = i\n i += 1\n \nwhile j < 5:\n if j == index:\n sum += ... | ['Wrong Answer', 'Accepted'] | ['s940043583', 's514735927'] | [12508.0, 20756.0] | [149.0, 280.0] | [384, 443] |
p03076 | u912158215 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 i in range(5)]\nlist = [a, b, c, d, e]\nnlist = [a%10, b%10, c%10, d%10, e%10]\nnlist.remove('0')\n\n\nnlist.sort() \nnlist.remove(0)\nmlist = map(10 - nlist)\nSum = sum(list) + sum(mlist)\nprint (Sum)", 'l = list(int(input()) for i in range(5))\nnlist = []\nSum = 0\n\nfor i in range... | ['Runtime Error', 'Accepted'] | ['s399566723', 's451874173'] | [3060.0, 3064.0] | [18.0, 17.0] | [282, 427] |
p03076 | u914330401 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 n in range(5)]\nmin = 100\nfor i in range(5):\n if min > list[i] % 10:\n min = list[i] % 10\n min_arg = i\nans = 0\nfor i in range(5):\n if ans == 0 and i != min_arg:\n ans += list[i]\n continue\n if i == min_arg:\n continue\n ans = ((ans - (ans % 10) + 10) + list[i])\n pr... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s082796833', 's231649642', 's985124031', 's999740093', 's477659880'] | [3064.0, 3064.0, 3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [371, 358, 295, 358, 326] |
p03076 | u916806287 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nts = [int(input()) for _ in range(5)]\nm = 10 - min([t % 10 for t in ts])\ntss = [ceil(t / 10) * 10 for t in ts]\nprint(sum(tss) - m)\n\n', 'from math import ceil\nts = [int(input()) for _ in range(5)]\nm = 10 - min([t % 10 for t in ts if not t % 10 == 0] + [10])\ntss = [ceil(t / 10) * 10 for t... | ['Wrong Answer', 'Accepted'] | ['s423267738', 's607721702'] | [2940.0, 2940.0] | [17.0, 17.0] | [154, 180] |
p03076 | u917733926 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nmenu = []\nfor i in range(0, 5):\n menu.append(int(input()))\ndf = max([10 - i % 10 for i in menu if i%10!=0 ])\nprint(df)\nsum = 0\nfor i in menu:\n sum += ((i + 9) // 10) * 10\nprint(sum-10+df)', 'import math\nmenu = []\nfor i in range(0, 5):\n menu.append(int(input()))\ndf = max([... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s384372694', 's701559110', 's618331393'] | [3060.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0] | [213, 255, 260] |
p03076 | u918009437 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 itertools\nimport math\n\n\n\n\ndef order(order_list):\n t1 = math.ceil(order_list[0] / 10) * 10\n t2 = t1 + math.ceil(order_list[1] / 10) * 10\n t3 = t2 + math.ceil(order_list[2] / 10) * 10\n t4 = t3 + math.ceil(order_list[3] / 10) * 10\n t5 = t4 + order_list[4]\n return t5\n\n\n... | ['Wrong Answer', 'Accepted'] | ['s381457549', 's355430243'] | [3064.0, 3064.0] | [19.0, 18.0] | [825, 759] |
p03076 | u918845030 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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 = map(int,inpput().split(" "))\n#n = int(input())\n#print(a,b,c)\nt=[]\nfor i in range(5):\n t.append(int(input()))\n#n = int(input())\ndef dif(x):\n s = int(x/10)\n return (s+1)*10 -x\n\ndef comp(a,b):\n a1 = dif(a)\n b1 = dif(b)\n return a1 < b1\nd = sorted(t, key=lambda x: dif(x), reverse=... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s600313240', 's911426010', 's444459189'] | [3064.0, 3064.0, 3064.0] | [17.0, 18.0, 17.0] | [453, 445, 490] |
p03076 | u918935103 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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)]\nt = 0\nfor i in range(5):\n t = t + (a[i]//10)*10 +10\nprint(t + min(a[0]%10,a[1]%10,a[2]%10,a[3]%10,a[4]%10))', 'a,b,c,d,e = [int(input()) for i in range(5)]\ncount = a + b + c + d + e\nl = [a%10,b%10,c%10,d%10,e%10]\ns = [a%10,b%10,c%10,d%10,e%10]\nm = [a%10,b%10,c%10,d%10,e%10... | ['Wrong Answer', 'Accepted'] | ['s996750463', 's259544342'] | [3060.0, 3064.0] | [17.0, 18.0] | [144, 382] |
p03076 | u919734978 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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(map(int,[input() for i in range(5)]))\nb = []\nc =[]\nd = False\nfor i in a:\n\tb.append(10-i % 10)\nfor i,j in zip(b,a):\n\tif max(b) != i:\n\t\tc.append(i+j)\n\telif not d:\n\t\tc.append(j)\n\telse:\n\t\tc.append(i+j)\nprint(sum(c))\n', 'a = list(map(int,[input() for i in range(5)]))\nb = []\nc =[]\nfor i ... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s056127257', 's163899955', 's472991944', 's499701156', 's529841704', 's641956755', 's764206114', 's796328705', 's917321094', 's818302867'] | [3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [221, 165, 183, 163, 195, 135, 231, 218, 182, 172] |
p03076 | u920963042 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import itertools\n\nA = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\n\nX = [A, B, C, D, E]\n\ndef calc_time(cand):\n tm = 0\n for i in range(len(cand)):\n tm += cand[i]\n if i < 4:\n if tm % 10 != 0:\n tm += 10 - tm % 10\n return(tm)\n\nres = 100000\nfor c... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s544966677', 's772825999', 's615310311'] | [3064.0, 3064.0, 3064.0] | [18.0, 17.0, 17.0] | [398, 391, 396] |
p03076 | u921773161 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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())\nd = [A, B, C, D, E]\nd_1 = list(map(lambda x:x%10,d))\nm = min(d_1)\n\nf = A+B+C+D+E+40+m - sum(d_1)\nprint', 'A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\nd = [A, B, C, D, E]\nd_1 = ... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s084176879', 's605476947', 's842363376', 's729475451'] | [3060.0, 3060.0, 3060.0, 12396.0] | [17.0, 17.0, 17.0, 155.0] | [187, 190, 192, 264] |
p03076 | u922926087 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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"""\nCreated on Sat Apr 6 21:54:27 2019\n\n@author: yuta\n"""\n\nABCDE = [int(input()) for i in range(5)]\n\ndef main(x):\n rest = list(map(lambda y: 10 - y%10,x))\n print("before:",rest)\n for i in range(5):\n if rest[i] == 10:\n rest[i] = 0\n print("after:",re... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s531922358', 's720804078', 's303665376'] | [3064.0, 3064.0, 3060.0] | [17.0, 18.0, 17.0] | [398, 349, 347] |
p03076 | u923270446 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nl = [a,b,c,d,e]\nl1 = [a%10,b%10,c%10,d%10,e%10]\nl2 = [(a//10)*10+10,(b//10)*10+10,(c//10)*10+10,(d//10)*10+10,(e//10)*10+10]\nfor i in range(len(l)):\n if l[i]%10 == 0:\n l1[i] = 10\n l2[i] -= 10\nprint(sum(l2... | ['Wrong Answer', 'Accepted'] | ['s247413791', 's807255499'] | [3064.0, 3064.0] | [17.0, 18.0] | [340, 325] |
p03076 | u923341003 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['dishes = []\nfor i in range(5):\n dishes.append(int(input()))\n \nma = 0\nfills = []\nfor dish in dishes:\n fill = 10 - dish % 10\n if fill > ma and fill != 10:\n ma = fill\n max_dish = dish\n \n fills.append(fill)\n\nflag = True\nif len(set(fills)) == 1:\n flag = False\n\nif flag:\... | ['Wrong Answer', 'Accepted'] | ['s714363028', 's962043731'] | [3064.0, 3060.0] | [17.0, 17.0] | [631, 324] |
p03076 | u926046014 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nzako=9\nswitch=0\nfor i in range(5):\n b=a[i]%10\n if b<=zako and b!=0:\n zako=b\n memory=i\n switch=1\n\nif switch=0:\n memory=1\nx=a.pop(memory)\n\nlst=[]\n\nfor i in range(4):\n c=a[i]//10\n c=c*10\n if a[i]%10!=0:\n ... | ['Runtime Error', 'Accepted'] | ['s889835703', 's695788550'] | [9036.0, 9144.0] | [23.0, 26.0] | [341, 342] |
p03076 | u929582923 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['\nlist = [int(input()) for i in range(5)]\nkList = []\nfor j in range(0,10):\n for i in list:\n if (i+j) % 10 == 0:\n if i % 10 != 0:\n kList.append(i+j) \n else:\n kList.append(i)\n\nnList = [i for i in kList[0:len(kList)-1]]\nprint(sum(nList) + kList[-1... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s285403742', 's639792501', 's731974984'] | [3060.0, 2940.0, 3060.0] | [17.0, 17.0, 18.0] | [308, 96, 254] |
p03076 | u930408895 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nlast = min(l,key = lambda x:x%10)\nl.remove(last)\n\nsum = 0\n\nfor i in l:\n if i%10==0:\n sum+=i\n else:\n sum+=i-1%10+10\n \nprint(sum+last)\n\n', 'l = []\nfor i in range(5):\n l.append(int(input()))\n\nlast = min(l,key = lambd... | ['Wrong Answer', 'Accepted'] | ['s093231022', 's049080528'] | [2940.0, 3060.0] | [17.0, 17.0] | [215, 218] |
p03076 | u932719058 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nlist = []\nfor i in range(5):\n a = int(input())\n list.append(a)\nsum = 0\nzeroList = [list[i] for i in range(len(list)) if list[i]%10 == 0]\notherList = [list[i] for i in range(len(list)) if not list[i]%10 == 0]\ndef func(x):\n return x % 10\notherList.sort(key=func)\nprint(otherList)\nfor i... | ['Runtime Error', 'Accepted'] | ['s747109423', 's271639464'] | [3064.0, 3064.0] | [17.0, 17.0] | [456, 445] |
p03076 | u932868243 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nlist=[int(input()) for x in range(5)]\nans=[]\nfor l in list:\n ans.append(math.ceil(l/10)*10)\nprint(sum(ans))', 'import math\nl=[int(input()) for i in range(5)]\nt=[]\nfor ll in l:\n t.append(math.ceil(t//10))\nlis=[]\nfor i in range(5):\n lis.append(t[i]*10-l[i])\nm=max(lis)\nsum=0\nfor i in range(... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s072836328', 's752938312', 's099532086'] | [3060.0, 3060.0, 3188.0] | [17.0, 18.0, 19.0] | [120, 214, 210] |
p03076 | u933249552 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['import itertools\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\ndish = [a, b, c, d, e]\ndishp = list(itertools.permutations(dish, 5))\nt = []\nx = 0\nfor i in range(0,120):\n x = 0\n for j in range(0,4):\n if dishp[i][j] %10 == 0:\n x += dishp[i][j... | ['Wrong Answer', 'Accepted'] | ['s945000065', 's954069219'] | [3064.0, 3064.0] | [18.0, 18.0] | [425, 415] |
p03076 | u934868410 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nans = 0\nmin_mod = 10\nfor i in range(5):\n a = int(input())\n ans += math.ceil(a/10)*10\n if a % 10 != 0:\n min_mod = min(min_mod, a % 10)\n \nprint(ans-min_mod+10)', 'import math\nans = 0\nmin_mod = 10\nfor i in range(5):\n a = int(input())\n ans += math.ceil(a/10)*10\n if a % 10 != 0:\n m... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s133685058', 's377499519', 's762115399', 's727797895'] | [3060.0, 3060.0, 3060.0, 2940.0] | [18.0, 18.0, 19.0, 17.0] | [176, 176, 173, 176] |
p03076 | u939604385 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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_times_ten = []\namari_list = []\ntime = 0\nfor i in range(len(l)):\n amari = l[i] % 10\n amari_list.append(amari)\n if amari == 0:\n l_times_ten.append(l[i])\n elif amari != 0:\n ... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s006625351', 's014511345', 's080096812', 's570061793', 's886515732'] | [3064.0, 3064.0, 3064.0, 3064.0, 3064.0] | [17.0, 17.0, 17.0, 17.0, 18.0] | [472, 519, 420, 478, 603] |
p03076 | u940279019 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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\nsample_list = []\nsample_list.append(a)\nsample_list.append(b)\nsample_list.append(c)\nsample_list.append(d)\nsample_list.append(e)\n\nx = []\nfor i in sample_list:\n if i%10 == 0:\n x.append(0)\n else:\n x.append(10-(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s101020252', 's346020115', 's972277210', 's292451962'] | [3064.0, 3064.0, 2940.0, 3064.0] | [17.0, 17.0, 18.0, 17.0] | [360, 337, 336, 345] |
p03076 | u941407962 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\ndef x(i):\n if i % 10 != 1:\n return i + (10 - i%10)\n return i\n\nprint(x(a) + x(b) + x(c) + x(d) + x(e))\n', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\ndef x(i):... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s134998377', 's938273349', 's942183084'] | [3060.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0] | [201, 238, 225] |
p03076 | u941753895 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes to serve. * APC Ramen: takes D minutes to serve. * ATC Hanbagu (hamburger patty): takes E minutes to serve. Here, the time to serve a ... | ['a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nl=[a,b,c,d,e]\np=10\nix=0\nfor i in range(len(l)):\n x=l[i]\n q=x%10\n if q!=0 and q<p:\n p=q\n ix=i\nr=l[ix]\nl.remove(r)\ns=0\nfor x in l:\n s+=x\n if x%10!=0:\n s+=10-(x%10)\n print(s)\nprint(s+r)', 'import math,string,i... | ['Wrong Answer', 'Accepted'] | ['s547157972', 's215694406'] | [3064.0, 6476.0] | [17.0, 59.0] | [272, 735] |
p03076 | u942051624 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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=[]\nfirst=[]\nfor i in range(5):\n temp=str(input())\n a.append(temp)\n first.append(int(temp[-1]))\nnin=0\nnva=9\nprint(first)\nfor i in range(5):\n if first[i]!=0 and first[i]<nva:\n nin=i\n nva=first[i]\nprint(nin)\n\nans=0\nfor i in range(5):\n if i!=nin:\n temmp... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s241868234', 's799316449', 's876000380'] | [9184.0, 9232.0, 8932.0] | [31.0, 25.0, 26.0] | [436, 413, 392] |
p03076 | u942697937 | 2,000 | 1,048,576 | The restaurant AtCoder serves the following five dishes: * ABC Don (rice bowl): takes A minutes to serve. * ARC Curry: takes B minutes to serve. * AGC Pasta: takes C minutes 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)]\n\nS = [round(x + 4.9, -1) for x in X]\nd = [round(x + 4.9, -1) - x for x in X]\n\nprint(int(sum(S) - max(d)))\n', 'X = [int(input()) for _ in range(5)]\n\nS = [round(x + 4.9, -1) for x in X]\nd = [round(x + 4.9, -1) - x for x in X]\n\nprint(int(sum(S) - max(d)))\n'] | ['Wrong Answer', 'Accepted'] | ['s554726489', 's313648040'] | [2940.0, 2940.0] | [18.0, 17.0] | [144, 143] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.