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 |
|---|---|---|---|---|---|---|---|---|---|---|
p03075 | u204260373 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a.b.c.d.e.k=map(int,input().split())\nif abs(a-b)<=k and abs(a-c)<=k and abs(a-d)<=k and abs(a-e)<=k and abs(b-c)<=k and abs(b-d)<=k and abs(b-e)<=k abs(c-d)<=k and abs(c-e)<=k and abs(d-e)<=k:\n print("Yey!")\nelse:\n print(":(")\n', 'a.b.c.d.e.k=map(int,input().split())\nif abs(a-b)>=k and abs(a-c)>=k and abs(a-d... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s373147742', 's770059835', 's915761718', 's172283936'] | [2940.0, 2940.0, 3060.0, 3060.0] | [17.0, 17.0, 18.0, 18.0] | [229, 228, 214, 253] |
p03075 | u204616996 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a=int(input())\nfor i in range(3):\n input()\ne=int(input())\nk=int(input())\nif e-a<=K:\n print('Yay!')\nelse:\n print(':(')", "a=int(input())\nfor i in range(3):\n z=input()\ne=int(input())\nk=int(input())\nif e-a<=k:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Accepted'] | ['s187278746', 's921944061'] | [2940.0, 2940.0] | [18.0, 18.0] | [120, 122] |
p03075 | u207036582 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['x = list(5)\nfor i in range(5) : x[i] = int(input())\nx.sort()\nk = int(input())\nif x[4] - x[0] <= k : print("Yay!")\nelse : print(":(")', 'x = [0] * 5\nfor i in range(5) : x[i] = int(input())\nx.sort()\nk = int(input())\nif x[4] - x[0] <= k : print("Yay!")\nelse : print(":(")\n'] | ['Runtime Error', 'Accepted'] | ['s384676005', 's894018743'] | [2940.0, 2940.0] | [17.0, 17.0] | [132, 133] |
p03075 | u207464563 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\ndiff = max([a,b,c,d,e]) - min([a,b,c,d,e])\n\nif k >= diff:\n print("Yey!")\nelse:\n print(":(")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(inpu... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s330087016', 's376437180', 's485354757', 's739684477'] | [3064.0, 3064.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0, 18.0] | [200, 270, 168, 170] |
p03075 | u208219327 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['A=int(input())\nB=int(input())\nC=int(input())\nD=int(input())\nE=int(input())\na=A%10\nb=B%10\nc=C%10\nd=D%10\ne=E%10\nif a==0 :\n print(A+B+C+D+E+30-a-b-c-d-e+min(b,c,d,e))\nelif b==0 :\n print(A+B+C+D+E+30-a-b-c-d-e+min(a,c,d,e))\nelif c==0 :\n print(A+B+C+D+E+30-a-b-c-d-e+min(b,a,d,e)) \nelif d==0 :\n ... | ['Wrong Answer', 'Accepted'] | ['s736540760', 's948410353'] | [3064.0, 2940.0] | [20.0, 17.0] | [469, 144] |
p03075 | u211259428 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = []\nfor i in range(5):\n a.append(int(input()))\nb =[]\nc = []\nfor i in range(5):\n b.append(int(a[i]))\nfor i in range(5):\n while b[i] > 10:\n b[i] = b[i] - 10\nif min(b) == 10:\n ans = sum(a)\nelse:\n for i in range(5):\n if b[i] == 10:\n \tc.append(int(a[i]))\n if b... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s079241957', 's150980615', 's243356438', 's262248996', 's381475053', 's389586154', 's479596704', 's587656487', 's596875906', 's661302445', 's719543638', 's825276601', 's912812444', 's949039930', 's952509546', 's445916581'] | [3064.0, 3064.0, 3064.0, 2940.0, 2940.0, 2940.0, 3064.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0, 3064.0, 3064.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0] | [459, 442, 127, 129, 126, 133, 349, 444, 167, 413, 406, 122, 344, 462, 448, 133] |
p03075 | u213497190 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["# coding: utf-8\na,b,c,d,e,k=map(int,input())\nif e-a>k:\n print(':(')\nelse:\n print('Yay!')", '# coding: utf-8\nn=int(input())\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\n\nm=min(a,b,c,d,e)\nprint((n//m)+5)\n', '# coding: utf-8\nn=int(input())\na=int(input())\nb=int(input())\n... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s050945289', 's306033201', 's421799577', 's774698008', 's876315913', 's889172273'] | [2940.0, 3060.0, 3064.0, 3064.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [90, 140, 430, 498, 74, 151] |
p03075 | u215315599 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['import math\n\ntimes = [0]*5\nfor i in range(5):\n times[i] = int(input())\n\n\nmini = 9\nidx = 9\nfor time in times:\n if time%10 < mini and time%10 > 0:\n mini = min(mini,time%10)\n idx = times.index(time)\n\ntotal = 0\nfor i in range(5):\n if i == idx:\n total += times[i]\n else:\n... | ['Wrong Answer', 'Accepted'] | ['s367846242', 's040985859'] | [3060.0, 3064.0] | [17.0, 17.0] | [402, 181] |
p03075 | u215726277 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['l = [int(input()) for i in range(6)]\nif l[4] - l[0] =< l[5]:\n print("Yay!")\nelse:\n print(":(")', 'l = [input() for i in range(6)]\nif l[4] - l[0] < l[5]:\n print("Yay!")\nelse:\n print(":(")', 'l = [int(input()) for i in range(6)]\nif l[4] - l[0] <= l[5]:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s140898967', 's969449486', 's857911967'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [100, 94, 100] |
p03075 | u217530935 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['# -*- coding: utf-8 -*-\n"""\nCreated on Sat Apr 6 21:22:08 2019\n\n@author: Tabe\n"""\n\npos = list()\nfor i in range(5):\n pos.append(int(input()))\n\nk = int(input())\nhh = False\n\nfor index, val in enumerate(pos):\n if hh == True:\n break;\n \n if index == 4:\n print("Yay!")\n ... | ['Wrong Answer', 'Accepted'] | ['s896079986', 's411188245'] | [3064.0, 3060.0] | [17.0, 17.0] | [515, 473] |
p03075 | u217940964 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nl = [a, b, c, d, e]\nd = list()\n\nfor i, x in enumerate(l[:-1]):\n l2 = l[i+1:]\n for y in l2:\n d.append(y-x)\n\n\nprint(d)\n\nif max(d) <= k:\n print('Yay!')\nelse:\n print(':(')", "a = ... | ['Wrong Answer', 'Accepted'] | ['s600091292', 's947322299'] | [3064.0, 3064.0] | [17.0, 17.0] | [289, 278] |
p03075 | u219417113 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['A = input()\n_ = input()\n_ = input()\n_ = input()\nE = input()\nk = input()\n\nif (E-A) > k:\n print(":(")\nelse:\n print("Yay!")', 'A = int(input())\n_ = input()\n_ = input()\n_ = input()\nE = int(input())\nk = int(input())\n\nif (E-A) > k:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Runtime Error', 'Accepted'] | ['s983031955', 's211644450'] | [2940.0, 2940.0] | [20.0, 17.0] | [122, 142] |
p03075 | u220345792 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = int(input())\n_ = int(input())\n_ = int(input())\n_ = int(input())\ne = int(input())\nk = int(input())\n\nif e - a =< k:\n print("Yay!")\nelse:\n print(":(")\n\n', 'a = int(input())\n_ = int(input())\n_ = int(input())\n_ = int(input())\ne = int(input())\nk = int(input())\n\nif a - e > k:\n print("Yay!")\nelse:... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s034582529', 's042162791', 's914720763'] | [2940.0, 3060.0, 2940.0] | [18.0, 17.0, 17.0] | [155, 152, 155] |
p03075 | u222138979 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['t = [int(input()) for i in range(5)] \nk = int(input())\n\nc = t\nhave = False\nfor i in range(0,5):\n for j in range(0,5):\n if j != i:\n if abs(t[i] - c[j]) > k:\n have = True\n \nif have:\n print(":(")\nelse:\n print("yay")', 't = [int(input()) for i in range(5)] \nk = ... | ['Wrong Answer', 'Accepted'] | ['s459120325', 's896247040'] | [3060.0, 3060.0] | [18.0, 18.0] | [257, 258] |
p03075 | u222207357 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = [0 for _ in range*6]\n\nfor i in range(6):\n a[i]= int(input())\nk = int(input())\n\ndist = a[5]-a[0]\n\nif dist > k:\n print(":(")\nelse:\n print("Yay!")', 'a = [0 for _ in range(5)]\n\nfor i in range(5):\n a[i]= int(input())\nk = int(input())\n\ndist = a[4]-a[0]\n\nif dist > k:\n print(":(")\nels... | ['Runtime Error', 'Accepted'] | ['s533758156', 's093233941'] | [2940.0, 2940.0] | [18.0, 17.0] | [156, 157] |
p03075 | u223555291 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a=[0]*5\nfor i in range(5):\n a[i]=int(input())\nb=int(input())\nif a[4]-a[0]>a[5]:\n print(':(')\nelse:\n print('Yay!')\n \n", "a=[0]*5\nfor i in range(5):\n a=int(input())\nb=int(input())\nif a[4]-a[0]>a[5]:\n print(':(')\nelse:\n print('Yay!')\n ", "a=[0]*5\nfor i in range(5):\n a[i]=int(input())\nb=int(i... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s240572178', 's410757516', 's613157653', 's668759823', 's040493269'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0] | [120, 116, 117, 120, 117] |
p03075 | u225577738 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['crd = []\na = int(input())\ncrd.append(a)\nb = int(input())\ncrd.append(b)\nc = int(input())\ncrd.append(c)\nd = int(input())\ncrd.append(d)\ne = int(input())\ncrd.append(e)\nk = int(input())\n\nprint(len(crd))\nfor x in range(len(crd)):\n for y in range(x+1, len(crd)-x):\n print(x, y)\n print(crd[in... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s108101584', 's732484871', 's481970003'] | [3064.0, 3064.0, 3064.0] | [18.0, 17.0, 17.0] | [503, 410, 504] |
p03075 | u225627575 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['str = input().split()\nflag = 0\nk = str[len(str)]\nfor i in range( 1,len(str) ):\n if str[i] - str[i-1] > k:\n flag = 1\nif flag == 1:\n print(":(")\nelse:\n print("Yay!")', 'A = []\nfor i in range(5):\n str = input()\n A[i] = int(str)\nK = int( input() )\n\nif( A[5] - A[0] > K):\n print("Yay!")\nelse:\n p... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s454191477', 's911849912', 's211431871'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [169, 146, 150] |
p03075 | u225642513 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['X,Y,Z,K = map(int, input().split())\na_list = [int(i) for i in input().split()]\nb_list = [int(i) for i in input().split()]\nc_list = [int(i) for i in input().split()]\na_list.sort(reverse = True)\nb_list.sort(reverse = True)\nc_list.sort(reverse = True)\ntotal_list = [0 for _ in range(min(106307,X*Y*Z))]\nfor i in r... | ['Runtime Error', 'Accepted'] | ['s286019275', 's559011900'] | [3064.0, 3060.0] | [18.0, 17.0] | [620, 152] |
p03075 | u227082700 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a,b,c,d,e=int(input()),int(input()),int(input()),int(input()),int(input())\nk=int(input())\nprint("yay!"if e-a<=k else":(")', 'a,b,c,d,e,k=map(int,input().split())\nif e-a>k:print(":(")\nelse:print("Yey!")', 'a=[int(input())for _ in range(5)]\nk=int(input())\nif e-a<=k:print("Yay!")\nelse:print(":(")', 'a,b,c,d,e,k=[... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s073873757', 's235612167', 's990956810', 's857106830'] | [3060.0, 9036.0, 2940.0, 9016.0] | [17.0, 28.0, 17.0, 31.0] | [121, 76, 89, 83] |
p03075 | u227085629 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a =int(input())\nb =int(input())\nc =int(input())\nd =int(input())\ne =int(input())\nk =int(input())\nif (e-a)>k:\n print(':(')\nelse:\n print('Yey!')", "a =int(input())\nb =int(input())\nc =int(input())\nd =int(input())\ne =int(input())\nk =int(input())\nif (e-a)>k:\n print(':(')\nelse:\n print('Yey!')", "a =int... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s131758482', 's464174708', 's787957492'] | [3060.0, 3060.0, 3060.0] | [18.0, 17.0, 17.0] | [143, 145, 143] |
p03075 | u234140613 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a,b,c,d,e,k=map(int,input().split())\nif abs(a-e)>k:\n print(":(")\nelse:\n print("Yay!")', 'a,b,c,d,e,k=map(int,input().split())\nif e-a>k:\n print(":(")\nelse:\n print("Yay!")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif e-a>k:\n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s480407999', 's874958302', 's159098445'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0] | [91, 86, 152] |
p03075 | u235837041 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\ntemp = [a,b,c,d,e]\n\nfor i in temp:\n for j in temp:\n #print(i, j)\n if abs(i -j ) <= k:\n print("Yay!")\n else:\n print(":(")\n ', '\n#include<string>\n#i... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s200778816', 's432345648', 's623636648', 's806195183'] | [3060.0, 2940.0, 3064.0, 3060.0] | [17.0, 20.0, 17.0, 18.0] | [277, 337, 382, 162] |
p03075 | u237656255 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['import math\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\nxs = [a,b,c,d,e]\ndivs = [10 if x % 10 == 0 else x % 10 for x in xs]\nmindiv = min(divs)\nresult = sum([math.ceil(x/10) * 10 for x in xs]) - 10 + mindiv\nprint(result)', 'import numpy as np\n\ndef prod(p, q, r):... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s474955327', 's742068827', 's839911709'] | [3064.0, 12404.0, 3060.0] | [17.0, 152.0, 17.0] | [262, 875, 137] |
p03075 | u239342230 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["l = []\nfor _ in range(5):\n l.append(int(input()))\n\nk = int(input())\n\nans = []\nfor i in range(5):\n for j in range(5):\n ans.append(abs(l[i] - l[j])>k) \n\nprint([':(','Yay!'][all(ans)])", "l = []\nfor _ in range(5):\n l.append(int(input()))\n\nk = int(input())\n\nans = []\nfor i in range(5):\n ... | ['Wrong Answer', 'Accepted'] | ['s312724731', 's807640867'] | [3060.0, 3060.0] | [17.0, 17.0] | [194, 194] |
p03075 | u239774974 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = int(input())\ne = int(input())\nk = int(input())\nif e-a =< k:\n print("Yay!")\nelse:\n print(":(")\n ', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\nif e-a <= k:\n\tprint("Yay!")\nelse:\n\tprint(":(")'] | ['Runtime Error', 'Accepted'] | ['s929637193', 's864248792'] | [2940.0, 3060.0] | [17.0, 17.0] | [102, 148] |
p03075 | u242870549 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['antenas = list(int, input() for in range(5))\n\nk = int(input)\n\nif (antenas[4] - antenas[0]) <= k:\n print("Yay!")\nelse :\n print(":(")\n \n ', 'antenas = list(int, input() for i in range(5))\n\nk = int(input)\n\nif (antenas[4] - antenas[0]) <= k:\n print("Yay!")\nelse :\n print(":(")\n \n \n', 'antenas = ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s231472523', 's391376179', 's927042467', 's443461803'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [139, 142, 136, 134] |
p03075 | u243373163 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif e-a<k:print("Yey!")\nelse:print(":(")', 'a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif e-a<k:print("Yey!")\nelse:print(":(")', 'a=int(input())\nb=int(input())\nc=int(... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s499144626', 's655281138', 's703524449', 's921376751'] | [9184.0, 8952.0, 9080.0, 9044.0] | [26.0, 27.0, 26.0, 26.0] | [129, 129, 130, 131] |
p03075 | u244836567 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a=int(input()\nb=int(input()\nc=int(input()\nd=int(input()\ne=int(input()\nx=int(input()\nls=[a,b,c,d,e]\nls.sort()\nif ls[1]-ls[0]<=x and ls[2]-ls[1]<=x and ls[3]-ls[2]<=x and ls[4]-ls[3]<=x:\n print("Yay!")\nelse:\n print(":(")', 'a=int(input()\nb=int(input()\nc=int(input()\nd=int(input()\ne=int(input()\nx=int(in... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s844915410', 's897221417', 's411811230'] | [8948.0, 8908.0, 9060.0] | [22.0, 20.0, 27.0] | [220, 228, 153] |
p03075 | u247465867 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['#2019/10/04\nN, A, B, C, D, E = list(map(int, open(0).read().split()))\n# print(N)\nprint(-~(N//min(A,B,C,D,E)) + 4)', '#2019/10/04\nN, A, B, C, D, E = list(map(int, open(0).read().split()))\n# print(N)\nprint(-(-N//min(A,B,C,D,E)) + 4)', '#2019/10/03\n\n# print("Yay!" if (b-a<=k and c-a<=k and d-a<=k and d-a<=k and ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s017687125', 's471490728', 's981328113'] | [2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0] | [113, 113, 447] |
p03075 | u249685005 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['n=int(input())\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nsaisyo=n+a+b+c+d+e\nf=1\ng=1\nh=1\ni=1\nj=1\nif saisyo>a:\n f=-(-n//a)\n saisyo=a\nif saisyo>b:\n g=-(-a//b)\n saisyo=b\nif saisyo>c:\n h=-(-b//c)\n saisyo=c\nif saisyo>d:\n i=-(-c//d)\n saisyo=d\ni... | ['Wrong Answer', 'Accepted'] | ['s250229420', 's073846428'] | [3064.0, 3060.0] | [18.0, 17.0] | [363, 141] |
p03075 | u250944591 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a,b,c,d,e,k=int(input()),int(input()),int(input()),int(input()),int(input()),int(input())\nif k<max(b-a,c-b,d-c,e-d):\n print('Yay!')\nelse:\n print(':(')", "a,b,c,d,e,k=int(input()),int(input()),int(input()),int(input()),int(input()),int(input())\nif k>=max(a,b,c,d,e)-min(a,b,c,d,e):\n print('Yay!')\nelse:\n pri... | ['Wrong Answer', 'Accepted'] | ['s328373281', 's428258530'] | [9164.0, 9128.0] | [26.0, 27.0] | [152, 162] |
p03075 | u252773293 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['c = list()\nfor i in range(6):\n c.append(int(input()))\nif coo[4] - coo[0] > coo[5]:\n print(":(")\nelse:\n print("Yay!")', 'C = list()\nfor i in range(6):\n coo.append(int(input()))\n if coo[4] - coo[0] > coo[5]:\n print(":(")\n else:\n print("Yay!")', 'c = list()\nfor i in range(6):\n c.append(int(i... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s047742014', 's225348809', 's873554872'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [119, 131, 113] |
p03075 | u252828980 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['X,Y,Z,K = map(int, input().split())\na = [int(i) for i in input().split()]\nb = [int(i) for i in input().split()]\nc = [int(i) for i in input().split()]\n \na.sort(reverse = True)\nb.sort(reverse = True)\nc.sort(reverse = True)\n \nli = []\nfor i in range(len(a)):\n for j in range(len(b)):\n li.appe... | ['Runtime Error', 'Accepted'] | ['s752087761', 's551781804'] | [3064.0, 3060.0] | [18.0, 19.0] | [558, 224] |
p03075 | u252964975 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['aru = False\nantenas = []\nfor i in range(5):\n k=int(input())\n antenas.append(n)\nk=int(input())\nfor i in range(4):\n if abs(antenas[i]-antenas[i+1])>k:\n aru = True\nif aru:\n print(\':(\')\nelse:\n print("Yay!")', 'aru = False\nantenas = []\nfor i in range(5):\n k=int(input())\n antenas.append(k)\nk=in... | ['Runtime Error', 'Accepted'] | ['s918232431', 's884247156'] | [3060.0, 3060.0] | [17.0, 17.0] | [210, 236] |
p03075 | u254050469 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = []\n\nfor i in range(6):\n a.append(int(input() )) \n\nprint (a[0])\nf = True\nfor i in range(4):\n for j in range(4-i):\n if a[j + i] - a[i] > a[5]:\n f = False\n break\n\nif f:\n print("Yay!")\nelse:\n print(":(")\n', 'a = []\n\nfor i in range(6):\n a.append(int(inpu... | ['Wrong Answer', 'Accepted'] | ['s529755200', 's734530656'] | [2940.0, 2940.0] | [17.0, 17.0] | [246, 238] |
p03075 | u254871849 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["import sys\n\n*x, k = map(int, sys.stdin.read().split())\nx.sort()\n\ndef main():\n ans = 'yay!' if x[-1] - x[0] <= k else ':('\n print(ans)\n\nif __name__ == '__main__':\n main()", "import sys\n\n*x, k = map(int, sys.stdin.read().split())\nx.sort()\n\ndef main():\n ans = 'Yay!' if x[-1] - x[0] <= k else... | ['Wrong Answer', 'Accepted'] | ['s958513960', 's995886418'] | [2940.0, 3316.0] | [17.0, 27.0] | [179, 179] |
p03075 | u257050137 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["x = [int(input()) for _ in range(5)]\nk = int(input())\nfor n in x:\n for v in x:\n if n - v > k:\n print(':(')\n exit()\nprint('Yey!')", "x = [int(input()) for _ in range(5)]\nk = int(input())\nl = []\nfor n in x:\n l.append([n - v for v in x])\nprint(':(' if max(max(l)) > k else '... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s075048062', 's107105109', 's334971160', 's539517335', 's773783262', 's832178719', 's953465763', 's046814256'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 19.0, 17.0, 17.0, 17.0] | [160, 148, 96, 84, 112, 165, 96, 186] |
p03075 | u259755734 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["A = list(map(int,open(0).read().split()))\nk = A.pop()\n\nans = 'Yay!'\n\nfor i in range(len(A)-1):\n for j in range(i+1, len(A)):\n d = abs(A[i] - A[j])\n print(d)\n if d > k:\n ans = ':('\n\nprint(ans)\n", "import itertools\n\nA = list(map(int,open(0).read().split()))\nk = A.pop()... | ['Wrong Answer', 'Accepted'] | ['s026769116', 's925466438'] | [2940.0, 3060.0] | [17.0, 17.0] | [227, 202] |
p03075 | u261891508 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['li=list(map(int,input().split("\\n")))\nk=li[5]\nif li[1]-li[0]>5 or li[2]-li[1]>5 or li[3]-li[2]>5 or li[4]-li[3]>5:\n print(":(")\nelse:\n print("Yay!")', 'li=[int(input()) for i in range(5)]\nk=int(input())\nif li[1]-li[0]>k or li[2]-li[1]>k or li[3]-li[2]>k or li[4]-li[3]>k or li[4]-li[0]>k:\n print(":(")\nels... | ['Runtime Error', 'Accepted'] | ['s616991693', 's652606001'] | [3060.0, 3060.0] | [17.0, 17.0] | [150, 172] |
p03075 | u262801165 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\ns = [a, b, c, d, e]\nu = []\nv = []\nans = 0\n\nfor i in range(len(s)):\n if s[i] % 10 == 0:\n ans += s[i]\n else:\n u.append(s[i])\n v.append(s[i] % 10)\n\nk = min(v)\nfor j in range(len(u)):\n ans... | ['Wrong Answer', 'Accepted'] | ['s232908695', 's245647107'] | [3064.0, 3060.0] | [17.0, 17.0] | [356, 152] |
p03075 | u263691873 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif (e - a <= f):\n print("Yay!")\nelse:\n print(":(")', "a = int(input())\nfor _ in range(3):\n input()\ne = int(input())\nk = int(input())\nif e-a > k:\n print(':(')\nelse:\n print('Yay!')"] | ['Runtime Error', 'Accepted'] | ['s274987420', 's361149366'] | [3060.0, 2940.0] | [18.0, 17.0] | [146, 133] |
p03075 | u265065462 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['N = int(input())\ncities = [int(input()) for i in range(5)]\n\n#print ("N:",N)\n#print ("cities:",cities)\n\nans = 0\n\npeople = [N,0,0,0,0,0]\nlatest = 0\n\n# maybe O(N)\n\n\ncritical = N // min(cities) \nif N % min(cities) != 0:\n\tcritical += 1\n\n\nprint (4 + critical)\n', 'a = int(input())\nb = int(input())\nc =... | ['Wrong Answer', 'Accepted'] | ['s795591311', 's031824020'] | [3060.0, 3060.0] | [18.0, 17.0] | [462, 154] |
p03075 | u265401619 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['l = [int(input()) for i in range(5)]\nl_0 = [a%10 for a in l]\nar = []\nfor n in l_0:\n if n != 0:\n ar.append(10-n)\n else:\n ar.append(0)\ns = ar.index(max(ar))\nar.pop(s)\nans = sum(l) + sum(ar)\nprint(ans)\n', 'l = [int(input()) for i in range(5)]\nl_0 = [a%10 for a in l]\nar = []\nfor n in l_0:\n if n !... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s323284171', 's414865530', 's476288268', 's530651696', 's679949294', 's748778857', 's898096623'] | [3060.0, 3064.0, 3064.0, 3064.0, 3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [207, 226, 294, 194, 434, 50, 137] |
p03075 | u268181283 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\narr = [e, d, c, b, a]\nleng_arr = []\nfor i in range(len(arr)):\n for j in range(4-i):\n leng = arr[i]-arr[j+1]\n leng_arr.append(leng)\n \nif all([i =< k for i in leng_arr]):\n print('Yay')\nelse:\n print(':(')", ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s081578666', 's646005410', 's827181016', 's630224960'] | [2940.0, 2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [299, 220, 317, 116] |
p03075 | u268884249 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['n = int(input())\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\ng = [a, b, c, d, e]\nh = min(g)\n\nprint(4 + (n+h-1) // h)', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif (e - a > k):\n print(":(")\nelse... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s162498105', 's190817647', 's201154045', 's366833506', 's657972031', 's683537038', 's846625264', 's148672257'] | [3060.0, 3060.0, 3060.0, 3060.0, 3060.0, 3060.0, 3064.0, 3188.0] | [17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 19.0] | [158, 154, 153, 162, 160, 183, 180, 154] |
p03075 | u269171164 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = [int(i) for i in input().split()]\n\nif a[4] - a[0] <= a[5]:\n print("Yay!")\nelse:\n print(":(")', 'N = 6 #the number of the input data\na = [[int(i) for i in input().split()] for j in range(N)]\n\nif a[N-2] - a[0] <= k:\n print("Yay!")\nelse:\n print(":(")', 'import heapq as hq\n\nX, Y, Z, K = map(i... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s244067910', 's541369546', 's972438237', 's287314717'] | [2940.0, 2940.0, 3192.0, 2940.0] | [19.0, 17.0, 19.0, 17.0] | [102, 157, 897, 107] |
p03075 | u277868339 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["import itertools\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nfor v in itertools.combinations([a, b, c, d, e], 2):\n print(v)\n if v[1]-v[0] > k:\n print(':(')\n exit()\n\nprint('Yay')\n", "import itertools\na = int(input())\nb = ... | ['Wrong Answer', 'Accepted'] | ['s212146881', 's113578764'] | [3060.0, 3060.0] | [17.0, 18.0] | [258, 240] |
p03075 | u278379520 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif e-a>k:\n print(':(')\nelse:\n ('Yay!')", "a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif e-a>k:\n print(':(')\nelse:\n print('Yay!')\n"] | ['Wrong Answer', 'Accepted'] | ['s435370259', 's473895277'] | [3060.0, 2940.0] | [17.0, 17.0] | [134, 140] |
p03075 | u280325247 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['from itertools import product\n\nx, y, z, k = map(int, input().split())\n\na = list(map(int, input().split()))\nb = list(map(int, input().split()))\nc = list(map(int, input().split()))\n\ns = sum\n\ndelecious = []\nfor prod in product(a, b, c):\n delecious.append(s(prod))\n\ndelecious.sort(reverse=True)\n\nfor i i... | ['Runtime Error', 'Accepted'] | ['s937199886', 's362363350'] | [3064.0, 2940.0] | [17.0, 17.0] | [337, 119] |
p03075 | u282228874 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["A = [input() for i in range(5)]\nA.sort(key = lambda x:x[-1])\nA = [int(a) for a in A]\nres = 0\nfor a in A:\n\tif a%10 == 0:\n\t\tres += a\n\telse:\n\t\twhile a%10 != 0:\n\t\t\ta += 1\n\t\tres += a \nfor a in A:\n\tb = str(a)\n\tif b[-1] != '0':\n\t\tres -= 10-int(b[-1])\n\t\tprint(res)\n\t\texit()\nprint(res)\n", "... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s625253712', 's640121524', 's501849446'] | [3064.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [277, 104, 109] |
p03075 | u283751459 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a,b,c,d,e = [int(input()) for _ in range(4)]\nk = int(input())\n\nif abs(a-b) >k or abs(a-c) >k or abs(a-d) >k or abs(a-e) >k or abs(b-c) >k or abs(b-d) >k or abs(e-b) >k or abs(c-d) >k or abs(c-e) >k or abs(d-e) >k :\n print(":(")\nelse:\n print("Yay!")', 'a,b,c,d,e = [int(input()) for _ in range(5)]\nk = int(inpu... | ['Runtime Error', 'Accepted'] | ['s612343356', 's934197609'] | [9116.0, 9124.0] | [24.0, 30.0] | [250, 251] |
p03075 | u286955577 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["X, Y, Z, K = map(int, input().split())\nA = [int(i) for i in input().split()]\nB = [int(i) for i in input().split()]\nC = [int(i) for i in input().split()]\n\nA.sort(reverse=True)\nB.sort(reverse=True)\nC.sort(reverse=True)\n\nAB = []\nfor a in A:\n for b in B:\n AB.append(a + b)\n\nAB.sort(reverse=True)\nAB = AB... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s247394957', 's520201044', 's005715885'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [440, 143, 151] |
p03075 | u287431190 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif b-a > k:\n print(':(')\n exit()\nelif c-a > k:\n print(':(')\n exit()\nelif d-a > k:\n print(':(')\n exit()\nelif e-a > k:\n print(':(')\n exit()\nelse\n print('Yay!')\n exit()", "a = int(input()... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s034541198', 's703691336', 's288702360'] | [2940.0, 2940.0, 3064.0] | [17.0, 17.0, 18.0] | [278, 158, 270] |
p03075 | u291543340 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a, b, c, d, e, k = map(int, input().split())\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\ni = abs(e-a)\n\nif i < k:\n print("Yay!")\nelse:\n print(":(")\n', 'a, b, c, d, e, k = [int(input()) for _ in range(6)]\n\n# a = int(input())\n# b = int(inp... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s250744442', 's330770101', 's893961552', 's738957666'] | [3060.0, 3060.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [212, 257, 169, 114] |
p03075 | u292810930 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['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) - 10\nprint(total)', "a = int(input())\nb = int(input())\nc = int(input(... | ['Wrong Answer', 'Accepted'] | ['s286731075', 's291645548'] | [3060.0, 3060.0] | [17.0, 17.0] | [252, 151] |
p03075 | u295457032 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a,b,c,d,e,k = map(int, input().split())\nif e-a<=k and e-b<=k and e-c<=k and e-d<=k:\n print(':(')\nelse:\n print('Yay!')", "a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif e-a<=k and e-b<=k and e-c<=k and e-d<=k:\n print(':(')\nelse:\n print('Yay!')\n", "a=int(input... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s452233954', 's934065839', 's858637418'] | [2940.0, 3060.0, 3060.0] | [18.0, 17.0, 17.0] | [117, 168, 168] |
p03075 | u296150111 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a,b,c,d,e=[int(input()) for i in range(5)]\nimport math\nA,B,C,D,E=[math.ceil(a/10),math.ceil(b/10),\nmath.ceil(c/10),math.ceil(d/10),math.ceil(e/10)]\nx=[a%10,b%10,c%10,d%10,e%10]\nm=0 \nwhile m<=4:\n if x[m]==0:\n x[m]=x[m]+10\n m=m+1\n else:\n x[m]=x[m] \n m=m+1\nd=min(x)\n\nprint(int((A+B+C+D+E)*10-10+d))\n',... | ['Wrong Answer', 'Accepted'] | ['s443128265', 's351240537'] | [3064.0, 2940.0] | [17.0, 17.0] | [300, 95] |
p03075 | u298288339 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input()) \n\nif k >= e-a:\n\tprint(":(")\nelse:\n\tprint("Yay!")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input()) \n\nif k >= e-a:\n\tprint("Yay!")\nelse:\n\tp... | ['Wrong Answer', 'Accepted'] | ['s787274427', 's281874427'] | [3060.0, 3060.0] | [18.0, 17.0] | [150, 150] |
p03075 | u298413997 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a = int(intpu())\nb= int(intpu())\nc = int(intpu())\nd = int(intpu())\ne = int(intpu())\nk = int(intpu())\n\nif e - a > k:\n print(':(')\nelse:\n print('Yay!')\n", "a = int(input())\nb= int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif e - a > k:\n print(':(')\nelse:\... | ['Runtime Error', 'Accepted'] | ['s360886267', 's395694190'] | [2940.0, 2940.0] | [17.0, 17.0] | [156, 156] |
p03075 | u305138793 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['import os\nimport sys\n\n\n\na=[input() for i in range(6)]\nprint(a)\n\nfor i in reversed(range(5,1)):\n if(a[i]-a[i-1]>=a[5]):\n print(":(")\n sys.exit()\n\nprint("Yay!")', 'import os\nimport sys\n\n\n\na=[int(input()) for i in range(6)]\n\nfor i in reversed(range(0,5)):\n for x in reversed(range... | ['Wrong Answer', 'Accepted'] | ['s808114605', 's811601813'] | [2940.0, 3060.0] | [17.0, 18.0] | [175, 218] |
p03075 | u306664745 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a=[]\nfor _ in range (6):\n\ta.append(int(input()))\nk=a[5]\na.remove(5)\nif max(a)-min(a)>k:\n\tprint(":(")\nelse:\n\tprint("Yay!")', 'a=list(map(int, input().split()))\nk=a[5]\na.remove(5)\nif max(a)-min(a)>k:\n\tprint(":(")\nelse:\n\tprint("Yay!")', 'a=[]\nfor _ in range (6):\n\ta.append(int(input()))\nk=a[5]\ndel... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s087631686', 's365252066', 's839349275'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0] | [121, 106, 118] |
p03075 | u307523507 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['nums = [int(input()) for _ in range(5)]\n\ndef orders(nums):\n r = [10 - (num % 10) for num in nums if (num % 10)]\n if r:\n \treturn sum(nums) + sum(r) - max(r)\n return sum(nums)\n\nprint(orders(nums))', 'N = int(input())\ntransport = [int(input()) for i in range(5)]\n\ndef timeToDestination(N, t):\n h = min(t... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s215285134', 's861879678', 's538946726'] | [3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [198, 209, 177] |
p03075 | u310233294 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['x,y,z,K=map(int,input().split())\na=list(map(int,input().split()))\nb=list(map(int,input().split()))\nc=list(map(int,input().split()))\na.sort(reverse=True)\nb.sort(reverse=True)\nc.sort(reverse=True)\nans=[]\nfor i in range(x):\n for j in range(y):\n for k in range(z):\n if (i+1)*(j+1)*(k+1)<=K:\n an... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s288178722', 's326837812', 's134930111'] | [3188.0, 3064.0, 3064.0] | [19.0, 18.0, 17.0] | [414, 480, 102] |
p03075 | u310381103 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a,b,c,d,e,k=[input() for _ in range(6)]\nif a-e<=k:\n print(':(')\nelse:\n print('Yay!')", "a,b,c,d,e,k=[int(input()) for _ in range(6)]\nif e-a>k:\n print(':(')\nelse:\n print('Yay!')"] | ['Runtime Error', 'Accepted'] | ['s096483668', 's501149221'] | [3060.0, 2940.0] | [17.0, 17.0] | [90, 94] |
p03075 | u316401642 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\nl = [\n b - a, c - a, d - a, e - a, c - b, d - b, e - b, d - c, e - c, e - d\n]\n\n\nfor i in l:\n print(i)\n if l[i] > k:\n print(":(")\n break\nelse:\n print("Yay!")', 'a = int(input... | ['Runtime Error', 'Accepted'] | ['s277382261', 's171616414'] | [3064.0, 3060.0] | [17.0, 17.0] | [284, 268] |
p03075 | u316603606 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a = int (input ())\nb = int (input ())\nc = int (input ())\nd = int (input ())\ne = int (input ())\nk = int (input ())\nif k >= e-a:\n print ('Yey!')\nelse:\n print (':(')", "a = int (input ())\nb = int (input ())\nc = int (input ())\nd = int (input ())\ne = int (input ())\nk = int (input ())\nif k >= e-a:\n print... | ['Wrong Answer', 'Accepted'] | ['s391620402', 's854694155'] | [9104.0, 9104.0] | [27.0, 27.0] | [164, 164] |
p03075 | u317779196 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['import math\nl = [int(input()) / 10 for i in range(5)]\nmin_l = min(l)\nl.remove(min_l)\nl = [math.ceil(i) for i in l]\nans = int((sum(l) + min_l)*10)\nprint(ans)', 'a,b,c,d,e,k = map(int, input())\nif(e-a > k):\n print(":(")\nelse:\n print("Yay!")', 'a,b,c,d,e,k = map(int, [input() for i in range(6)])\nif(e-a ... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s099991920', 's518341160', 's194219395'] | [3060.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [156, 84, 104] |
p03075 | u318925675 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\ns=[a,b,c,d,e]\nans=0\nfor i in range(4):\n for j in range(4):\n l=s[i]-s[j]\n if(abs(l)>k):\n ans=ans+1\nif(ans==0):\n print('Yey!')\nelse:\n print(':(')", "a=int(input())\nb=int(input())\... | ['Wrong Answer', 'Accepted'] | ['s102311177', 's506042871'] | [3064.0, 3060.0] | [17.0, 17.0] | [267, 159] |
p03075 | u319589470 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['import math\nn = int(input())\nli=[int(input()) for i in range(n)]\nprint(math.ceil(n/min(li))+4)', 'li = []\nfor i in range(6):\n li.append(int(input()))\nif li[4] - li[0] <= li[5]:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Accepted'] | ['s114582577', 's918504941'] | [3060.0, 2940.0] | [18.0, 18.0] | [94, 115] |
p03075 | u320763652 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['\nline=[]\n\nfor i in range(5):\n line.append( int(input()))\n\nk = int(input())\n\n\n\nout = "Yay!"\n\nfor i in range(5):\n for j in range(4-i):\n tmp = line[i] - line[j+1]\n print(tmp)\n\n if abs(tmp) > k:\n out = ":("\n\n if out == ":(":\n break\n\nprint(out)', '\nli... | ['Wrong Answer', 'Accepted'] | ['s449577605', 's685349661'] | [3060.0, 3060.0] | [17.0, 17.0] | [287, 266] |
p03075 | u322185540 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a = input()\nb = input()\nc = input()\nd = input()\ne = input()\nk = input()\ndis = e - a\nif dis <= k:\n print('Yay!')\nelse:\n print(':(')", "a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\ndis = e - a\nif dis <= k:\n print('Yay!')\nelse:\n pri... | ['Runtime Error', 'Accepted'] | ['s558022228', 's090713489'] | [3060.0, 3060.0] | [18.0, 19.0] | [136, 168] |
p03075 | u326272196 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['s = [int(input()) for i in range(6)]\nk = s[5]\ncannot = 0\n\nfor i in range(4):\n if ((s[i] - s[i+1])^2 > k^2):\n cannot = cannot + 1\n\nprint(cannot)\n', 's = [int(input()) for i in range(6)]\nk = s[5]\n\nif ((s[4] - s[0]) > k):\n print(":(")\nelse:\n print("Yay!")'] | ['Wrong Answer', 'Accepted'] | ['s864413410', 's840467301'] | [2940.0, 2940.0] | [17.0, 17.0] | [154, 110] |
p03075 | u327668449 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif (b-a>=k and c-b>=k and d-c>=k and e-d>=k):\n print("Yay!")\nelse:\n print(":(")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif (\n b-... | ['Wrong Answer', 'Accepted'] | ['s324944516', 's757503354'] | [3060.0, 3064.0] | [17.0, 17.0] | [184, 264] |
p03075 | u328510800 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = [int(input()) for x in range(5)]\nk = int(input())\n\nflg = True\n\nfor i, x in enumerate(a):\n for j, y in enumerate(a):\n if i == j:\n continue\n \n flg = flg and abs(y-x) > k\n \nprint(\'Yay!\' if flg else ":(")', 'a = [int(input()) for x in range(5)]\nk = int(input())\n\nflg = False\n\nfor... | ['Wrong Answer', 'Accepted'] | ['s619441178', 's110577210'] | [9052.0, 9076.0] | [29.0, 28.0] | [224, 224] |
p03075 | u329307703 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['stdin = []\nfor x in range(6):\n stdin.append(int(input()))\nprint(stdin)\na,b,c,d,e,k = (x for x in stdin)\nans = "Yay!"\n\nfor x in range(len(stdin)- 1):\n if x != len(stdin) - 2:\n for y in range(x+1,len(stdin)-1):\n if abs(stdin[x]-stdin[y]) > k:\n ans = ":("\nprint(ans)', '... | ['Wrong Answer', 'Accepted'] | ['s403780639', 's900805842'] | [3064.0, 3064.0] | [17.0, 17.0] | [302, 289] |
p03075 | u329455846 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["import itertools\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\nseq = (a,b,c,d,e,f)\ndata = list(itertools.combinations(seq,2))\nresult = 0\nfor i in range(len(data)):\n if data[i][0] - data[i][1] < k:\n result +=1\nif result == len(data):\n p... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s339423978', 's525639142', 's543931168', 's804917441', 's953766223', 's597776406'] | [3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 3064.0] | [17.0, 17.0, 18.0, 18.0, 17.0, 17.0] | [341, 456, 462, 357, 464, 452] |
p03075 | u333404917 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['l = [int(input()) for _ in range(5)]\nmax_distance = input()\nl[-1] - l[0] = distance\nif max_distance > distance:\n print("Yay!")\nelse:\n print(":(")', 'l = [int(input()) for _ in range(5)]\nmax_distance = int(input())\ndistance = l[-1] - l[0]\nif max_distance >= distance:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Accepted'] | ['s073845379', 's257563958'] | [2940.0, 2940.0] | [17.0, 18.0] | [147, 153] |
p03075 | u334928930 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['inputs=input()\nprint(input)', 'N,A,B,C,D,E=[int(input()) for i in range(6)]\na,b,c,d,e,f,T=[N,0,0,0,0,0,0]\n\n\ndef ship(station,destination,capacity):\n if station>=capacity:\n s=capacity\n else:\n s=station\n destination=destination+s\n station=station-s\n return station,destination\n\... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s094578247', 's287734559', 's315671285', 's701522661', 's866111763', 's944271164', 's970690654', 's857357504'] | [2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 3064.0, 3064.0, 2940.0] | [17.0, 20.0, 17.0, 17.0, 17.0, 17.0, 19.0, 17.0] | [27, 514, 169, 168, 184, 514, 560, 188] |
p03075 | u335538114 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['x, y, z, k = map(int, input().split())\nm = []\nfor _ in range(3):\n m.append(sorted(list(map(int, input().split())), reverse=True))\n \ndef sorted_sum(list_a, list_b):\n s = []\n for x in list_a:\n for y in list_b:\n s.append(x + y)\n return sorted(s, reverse=True)\n \nans = sorted_sum(... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s541114471', 's891811497', 's132379872'] | [3064.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [385, 380, 255] |
p03075 | u336721073 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = []\nfor i in range(5):\n a.append(int(input()))\nk = int(input())\n\nans = "Yay!"\nfor i in range(4):\n for j in range(i+1, 5):\n \tif a[i] - a[j] > k:\n \tans = ":("\n \nprint(ans)', 'a = []\nfor i in range(5):\n a.append(int(input()))\nk = int(input())\n\nif a[4] - a[0] <= k:\n print("Yay!")\nelse:\n... | ['Runtime Error', 'Accepted'] | ['s240796852', 's218963214'] | [2940.0, 2940.0] | [17.0, 17.0] | [181, 125] |
p03075 | u337626942 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['n=int(input())\ntrans=[int(input()) for i in range(5)]\nd=min(trans)\n\nif n%d == 0:\n print(n//d +4)\nelse:\n print((n//d +1) +4) ', 'a=[int(input()) for i in range(5)]\nk=int(input())\n\nflag=0\nfor i in range(4):\n for j in range(i+1, 5):\n d=a[j]-a[i]\n if d > k:\n flag=1\n\nif f... | ['Wrong Answer', 'Accepted'] | ['s490177131', 's389668146'] | [2940.0, 3060.0] | [17.0, 18.0] | [229, 214] |
p03075 | u338208364 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['n=[]\nfor i in range(5):\n n[i]=int(input())\nk=int(input())\nmi=min(n)\nma=max(n)\nif k <= ma-mi:\n print("Yay!")\nelse:\n print(":(")\n\n ', 'n=[0]*5\nfor i in range(5):\n n[i]=int(input())\nk=int(input())\nmi=min(n)\nma=max(n)\nif k >=ma-mi:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Accepted'] | ['s738745214', 's041456309'] | [2940.0, 2940.0] | [18.0, 17.0] | [139, 131] |
p03075 | u338824669 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif e-k > k:\n print(':(')\nelse:\n print('Yay')", "a=int(input())\nb=input()\nc=input()\nd=input()\ne=int(input())\nk=int(input())\nif e-a > k:\n print(':(')\nelse:\n print('Yay')", "a=int(input())\nb=int(input())\nc=i... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s140651603', 's482306531', 's753671142', 's028491025'] | [3060.0, 3060.0, 3060.0, 3060.0] | [17.0, 17.0, 18.0, 17.0] | [136, 121, 136, 153] |
p03075 | u339550873 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\nls = []\nfor i in range(4):\n ls.append(int(input()))\nansls=[]\nk = input()\nfor i in range(4):\n m = ls[i+1]-ls[0]\n ansls.append(m)\n\nif max(ansls)>k:\n print(':(')\nelse:\n print('Yay!')", "#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\nls = []\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s207494073', 's638246681', 's985236675', 's632892718'] | [3060.0, 3060.0, 3060.0, 2940.0] | [17.0, 18.0, 18.0, 17.0] | [242, 243, 242, 180] |
p03075 | u344412812 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['xs = [for i in range[5]]\nk = int(input())\nif (xs[4] - xs[0] <= k):\n\tprint("Yay!")\nelse:\n\tprint(":(")\n', 'xs = [for i in range[5]]\nk = int(input())\nif (xs[4] - xs[0] <= k):\n\tprint("YES")\nelse:\n\tprint("NO")', 'xs = [int(input()) for i in range[5]]\nk = int(input())\nif (xs[4] - xs[0] <= k):\n\tprint("Yay... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s225791211', 's474875614', 's928476832', 's382995815'] | [2940.0, 2940.0, 2940.0, 3064.0] | [17.0, 17.0, 18.0, 17.0] | [101, 99, 114, 114] |
p03075 | u344959886 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["l=[]\nfor i in range(5):\n l.append(i)\nk=int(input())\n\nif max(l)-min(l) > k:\n print(':(')\nelse:\n print('Yay!')\n\n", "l=[]\nfor i in range(5):\n\tl.append(int(input()))\n\nk=int(input())\n\nif max(l)-min(l) > k:\n \n print(':(')\nelse:\n print('Yay!')\n\n"] | ['Wrong Answer', 'Accepted'] | ['s294671541', 's096026811'] | [2940.0, 2940.0] | [17.0, 17.0] | [119, 133] |
p03075 | u345136423 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a = list(int(input()) for _ in range(5))\nk = int(input())\nans='Yay!'\nfor i in a:\n for j in len(a):\n if a[j] - i >18:\n ans = ':('\nprint(ans)", "a = list(int(input()) for _ in range(5))\nk = int(input())\nans='Yay!'\nfor i in a:\n for j in len(a):\n if a[j] - i >k:\n ans = ':('\nprint(ans)\n"... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s350352770', 's758519177', 's902575636'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [149, 149, 156] |
p03075 | u346629192 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['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*(len(lst_f)-1)+min(lst_f))', 'a = int(input().split())\nb = int(input().split... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s071532372', 's835812245', 's397507328'] | [3064.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0] | [256, 201, 153] |
p03075 | u349836672 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['xs = []\nfor x in range(5):\n xs.append(int(input()))\nk = int(input())\nif max(xs) - min(xs) > k:\n print(":(")\nelse:\n print("Yay")\n', 'xs = []\nfor x in range(5):\n xs.append(int(input()))\nk = int(input())\nif max(xs) - min(xs) > k:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Wrong Answer', 'Accepted'] | ['s137061750', 's256908681'] | [2940.0, 2940.0] | [17.0, 17.0] | [136, 137] |
p03075 | u350093546 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a=[int(input()) for i in range(5)]\nk=int(input())\nx=max(a)-min(a)\nif x>=k:\n print('Yay!')\nelse:\n print(':(')", "a=int(print())\nb=int(print())\nc=int(print())\nd=int(print())\ne=int(print())\nk=int(print())\n\nif (e-a)<=k:\n print('Yay!')\n\nelse:\n print(':(')", "a=print()\nb=print()\nc=print()\nd=print()\... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s091746749', 's119026075', 's165294872', 's293451682', 's312505048', 's747668095', 's910258688'] | [2940.0, 3064.0, 3060.0, 3060.0, 3060.0, 3060.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [110, 140, 136, 166, 169, 167, 111] |
p03075 | u353081339 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a = sorted(list(map(int, [input() for i in range(5)])))\nk = int(input())\nif (a[4] - a[0]) <= k:\n print('Yap!')\nelse:\n print(':(')", "a = sorted(list(map(int, [input() for i in range(5)])))\nk = int(input())\nif (a[4] - a[0]) <= k:\n print('Yay!')\nelse:\n print(':(')\n"] | ['Wrong Answer', 'Accepted'] | ['s582936725', 's256892666'] | [3060.0, 2940.0] | [17.0, 17.0] | [131, 132] |
p03075 | u353789691 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['A=[int(input()) for i in range(5)]\nK = int(input())\n\nif(A[-1] - A[0] <= K):\n print("Yay!")\n else:\n print(":(")\n\n', 'A=[int(input()) for i in range(5)]\nK = int(input())\n\nif(A[-1] - A[0] <= K):\n print("Yay!")\nelse:\n print(":(")\n'] | ['Runtime Error', 'Accepted'] | ['s921180369', 's593946770'] | [2940.0, 2940.0] | [18.0, 18.0] | [114, 112] |
p03075 | u353895424 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['l = []\nfor i in range(5):\n l.append(int(input()))\nk = int(input())\nflg = True\n\nfor i in range(5):\n print("i: "+str(i))\n for j in range(i, 5):\n print("j: "+str(j))\n if l[j] - l[i] >k:\n flg = False\n break\nif flg==True:\n print("Yay!")\nelse:\n print(":(")\... | ['Wrong Answer', 'Accepted'] | ['s986766247', 's391968323'] | [3064.0, 3060.0] | [17.0, 17.0] | [332, 339] |
p03075 | u354567428 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['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 != []:\n print(sum(a) + min(b) -10)\nelse:\n print(sum(a))\n', '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)... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s001089222', 's581975779', 's792998590', 's265334540'] | [3060.0, 3060.0, 3064.0, 2940.0] | [18.0, 19.0, 18.0, 18.0] | [197, 152, 208, 102] |
p03075 | u358791207 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['import numpy as np\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\nA = a % 10\nB = b % 10\nC = c % 10\nD = d % 10\nE = e % 10\n\nS = []\nsum = 0\nif A != 0:\n S.append(A)\nif B != 0:\n S.append(B)\nif C != 0:\n S.append(C)\nif D != 0:\n S.append(D)\nif E != 0:\n S.app... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s618940426', 's815157740', 's026873524'] | [13452.0, 12388.0, 3064.0] | [148.0, 148.0, 17.0] | [442, 442, 338] |
p03075 | u360487232 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["for i in range(6):\n a.append(int(input()))\n\nif a[4] - a[0] <= a[5]:\n print('Yay!')\nelse:\n print(':(')", 'a = []\n\nfor i in range(6):\n a.append(int(input()))\n\nif a[0] <= a[1]:\n sum_minute = 1\nelse:\n sum_minute = -(-a[0] // a[1])\n\nb = []\nfor i in range(5):\n b.append(a[i+1])\n\nmin_... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s370476390', 's516930626', 's725383127'] | [2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [110, 458, 120] |
p03075 | u360515075 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['Li = list(int(input()) for _ in range(6))\nF =[1 for i in range(4) for j in range(i,4) if abs(Li[j]-Li[i]) < Li[5]]\nprint ("Yay!" if len(F)==20 else ":(")', 'Li = list(int(input()) for _ in range(6))\nF =[1 for i in range(4) for j in range(i+1,5) if abs(Li[j]-Li[i]) <= Li[5]]\nprint ("Yay!" if len(F)==10 else ":("... | ['Wrong Answer', 'Accepted'] | ['s198752371', 's507741445'] | [2940.0, 2940.0] | [17.0, 17.0] | [154, 158] |
p03075 | u360613784 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a, b, c, d, e, k = map(int, input().split())\n\nif k >= (a - e):\n print('Yay!')\nelse:\n print(':(')", "x = list((int(i) for i in range(5)))\nk = int(input())\nM = max(x)\nm = min(x)\n\nif k >= M - m:\n print('Yay!')\nelse:\n print(':(')\n", "a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s310494572', 's336448288', 's364651327', 's894425588', 's929432314', 's930119112', 's833835962'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [102, 132, 152, 134, 112, 132, 158] |
p03075 | u363836311 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["A=[0]*6\nfor i in range(6):\n A[i]=int(input())\nfor i in range(5):\n for j in range(5):\n if A[i]-A[j]>A[6]:\n print(':(')\n exit()\nprint('Yay!')", "A=[0]*6\nfor i in range(6):\n A[i]=int(input())\nfor i in range(5):\n for j in range(5):\n if A[i]-A[j]>A[5]:\n print(':(')\n exit()\npri... | ['Runtime Error', 'Accepted'] | ['s201915449', 's644248753'] | [2940.0, 2940.0] | [17.0, 17.0] | [154, 155] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.