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
u043211170
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()\nif e-a>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!")\n']
['Runtime Error', 'Accepted']
['s271091726', 's945552638']
[2940.0, 2940.0]
[18.0, 17.0]
[109, 125]
p03075
u043236471
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\narray = [a,b,c,d,e]\nflag = True\n\nfor i in range(0, 4):\n for j in range(i+1, 5):\n print(i, j)\n if abs(array[i] - array[j] )> k:\n flag = False\n break\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s334295392', 's876013550', 's819558884']
[3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[351, 332, 331]
p03075
u045408189
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()\nprint('Yay!' if (e-a)<=k else ':(')\n", "a=input()\ninput()\ninput()\ninput()\ne=input()\nk=input()\nprint('Yay!' if (e-a)<=k else ':(')", "a=int(input())\nb=input()\nc=input()\nd=input()\ne=int(input())\nk=int(input())\nprint('Yay!' if (e-a)<=k else '...
['Runtime Error', 'Runtime Error', 'Accepted']
['s473035729', 's805812923', 's301757785']
[2940.0, 3064.0, 2940.0]
[17.0, 17.0, 19.0]
[96, 89, 111]
p03075
u046187684
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...
['def solve(string):\n a, *_, e, k = map(int, string.split())\n return "Yay!" if e - a <= k else ":("\n\n\nif __name__ == \'__main__\':\n print(solve(input()))\n', 'def solve(string):\n a, *_, e, k = map(int, string.split())\n return "Yay!" if e - a <= k else ":("\n\n\nif __name__ == \'__main__\':\n p...
['Runtime Error', 'Accepted']
['s621656186', 's377768923']
[2940.0, 2940.0]
[17.0, 17.0]
[159, 190]
p03075
u047023156
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 collections import deque\n\nN = int(input())\nA = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\n\nc1 = deque(list(0 for i in range(N)))\nc2 = deque()\nc3 = deque()\nc4 = deque()\nc5 = deque()\nc6 = deque()\n\ncounter = 0\ndef transfer(start, end, capacity):\n for i in r...
['Wrong Answer', 'Accepted']
['s015619329', 's896937441']
[3316.0, 3060.0]
[21.0, 17.0]
[585, 256]
p03075
u048735692
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\narr=[int(input()) for i in range(5)]\nk=int(input())\n\nfor i in arr:\n for j in arr:\n if abs(i - j) > k:\n print(":(")\n sys.exit()\n\nprint("Yey!")\n', 'import sys\n \narr=[int(input()) for i in range(5)]\nk=int(input())\n \nfor i in range(len(arr)):\n for j in rang...
['Wrong Answer', 'Accepted']
['s063825977', 's040332390']
[2940.0, 2940.0]
[17.0, 17.0]
[186, 231]
p03075
u052247353
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\nnums = [a, b, c, d, e]\n\nif max(nums) - min(nums) > 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\n...
['Wrong Answer', 'Accepted']
['s492730104', 's986038405']
[3060.0, 2940.0]
[17.0, 17.0]
[192, 194]
p03075
u054274920
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\nindex=0\nindex_0=0\ncount=9\ns=0\nj=0\nfor i in range(5):\n a[i]=int(input())\n if a[i]%10==0:\n index_0+=1\n else:\n count=min(a[i]%10,count)\n j+=1\n s+=a[i]//10\nif j!=0:\n print(s*10+count+(4-index_0)*10)\nelse:\n print(sum(a))', 'a=int(input())\nb=int(input())\nc=i...
['Wrong Answer', 'Accepted']
['s241176136', 's516486545']
[3064.0, 3060.0]
[17.0, 17.0]
[262, 141]
p03075
u056544471
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:07:41 2019\n\n@author: qqwx2_000\n"""\nimport itertools\n\nant_li=[\'A\',\'B\',\'C\',\'D\',\'E\']\ncoordinate = []\ndistance = []\nfor i in ant_li:\n \n i = int(input(i+"の座標を入力して下さい: "))\n coordinate.append(i)\nk=int(input(\'kを入力してください:\'))\n\nfor i in i...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s204965024', 's380486309', 's395956611', 's437132396']
[3064.0, 12504.0, 12504.0, 3064.0]
[17.0, 149.0, 148.0, 17.0]
[528, 804, 462, 447]
p03075
u057415180
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())\nlis = list(a, b, c, d, e)\nif max(lis) - min(lis) <= 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...
['Runtime Error', 'Runtime Error', 'Accepted']
['s221560674', 's305993121', 's779090838']
[3060.0, 3064.0, 3060.0]
[17.0, 20.0, 19.0]
[196, 193, 156]
p03075
u058295774
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\nminutes = [int(input()) for _ in range(5)]\ntime=0\nl=[]\n \nfor i in minutes:\n time += i\n if(i%10==0):\n l.append(0)\n else:\n l.append(10-i%10)\n \nl.sort()\ntime += sum(l[:-1])\nprint(time)', '# coding: utf-8\na = int(input())\nb = int(input())\nc = int(input())\nd = int(i...
['Wrong Answer', 'Accepted']
['s650700911', 's030696573']
[3064.0, 3064.0]
[18.0, 17.0]
[220, 199]
p03075
u059436995
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())\na =[int(input()) for _ in range(5)]\nprint(math.ceil(n / min(a) + 4))', "a =[]\nfor _ in range(5):\n a.append(int(input())) \nk = int(input())\n\nfor i in range(4):\n for j in range(i + 1, 5):\n if abs(a[i]-a[j]) > k:\n print(':(')\n break\n break\nel...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s454731730', 's653822135', 's466748655']
[2940.0, 3060.0, 2940.0]
[17.0, 18.0, 17.0]
[97, 224, 121]
p03075
u061539997
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()) for x in range()]\nif e-a <= k:\n print("Yay!")\nelse:\n print(":(")', 'a,b,c,d,e,k = [int(input()) for x in range(6)]\nif e-a <= k:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s539832048', 's728439462']
[2940.0, 3060.0]
[17.0, 17.0]
[98, 99]
p03075
u062691227
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\n# points = np.array([0, 1, 2, 3, 4])\npoints = np.array([input() for _ in range(5)])\nthr = input()\ndiff = max(points[1:] - points[:4])\nif diff <= thr:\n print('Yay!')\nelse:\n print(':(')", "import numpy as np\n# points = np.array([0, 1, 2, 3, 4])\npoints = np.array([int(input()) for _ in...
['Runtime Error', 'Accepted']
['s929944376', 's979129116']
[12444.0, 12388.0]
[155.0, 148.0]
[208, 214]
p03075
u063346608
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()\n\nif e -a > k\n\tprint(":(")\nelse:\n\tprint("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\tprint(":(")\nelse:\n\tprint("Yay!")']
['Runtime Error', 'Accepted']
['s313364847', 's716251589']
[2940.0, 3060.0]
[17.0, 19.0]
[123, 150]
p03075
u065188401
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 = []\nfor i in range(5):\n x.append(int(input()))\n\nk=int(input())\n\nfor i in range(len(x) - 1):\n print('i=' + str(i))\n for j in range(i + 1, len(x)):\n print(' j=' + str(j))\n print(x[j] - x[i])\n if x[j] - x[i] > k:\n print(':(')\n quit()\n \nprint('Yay')...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s125202118', 's606447146', 's608021259']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[303, 304, 222]
p03075
u065599736
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("Yay!")\n else:\n print(":(")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\nif e-a <= k:\n print("Yay!")\nelse:\n pri...
['Runtime Error', 'Accepted']
['s005211155', 's413156271']
[2940.0, 3060.0]
[17.0, 18.0]
[154, 150]
p03075
u066455063
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 abs(a-e) > 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())\n\nif abs(a-e) > k:\n print(":(")\n...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s473828932', 's647714379', 's812431287', 's234236632']
[3060.0, 3060.0, 3064.0, 3060.0]
[19.0, 17.0, 17.0, 18.0]
[159, 158, 472, 159]
p03075
u067641233
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 = input()\nc = input()\nd = input()\ne = int(input())\nk = int(input())\n\nif e - a =< k:\n\tprint('Yay!')\nelse:\n\tprint(':(')", "a = int(input())\nb = input()\nc = input()\nd = input()\ne = int(input())\nk = int(input())\n\nif e - a > k:\n\tprint('Yay!')\nelse:\n\tprint(':(')", "a = int(input()...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s069679389', 's336501290', 's058902831']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[136, 135, 136]
p03075
u067729694
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())\n\nA_list = list(map(int, input().split()))\nB_list = list(map(int, input().split()))\nC_list = list(map(int, input().split()))\n\nval_list = []\n\n\nA_list = sorted(A_list, reverse=True)\nB_list = sorted(B_list, reverse=True)\nC_list = sorted(C_list, reverse=True)\n\nfor a in r...
['Runtime Error', 'Accepted']
['s778705994', 's998975697']
[3064.0, 3060.0]
[18.0, 17.0]
[817, 313]
p03075
u068862866
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...
['antena = []\nfor i in range(5):\n antena[i] = int(input())\n \nk = int(input())\n\nfor i in range(len(antena)):\n if antena[-1]-antena[i]>k:\n print(":(")\nelse:\n print("Yay!")', 'antena = [0]*5\nfor i in range(5):\n antena[i] = int(input())\n \nk = int(input())\n \nfor i in range(len(antena)):\n if antena...
['Runtime Error', 'Accepted']
['s812912777', 's291268789']
[9000.0, 9120.0]
[26.0, 32.0]
[174, 188]
p03075
u069172538
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(0,5):\n a.append(int(input()))\ns=0\nimport math\nfor i in a:\n s=s+(math.ceil(i/10))*10\nx=10\nfor i in a:\n if i%10==0:\n pass\n elif i%10<x:\n x=i%10\nprint(s-10+x)', 'A=[]\nfor i in range(0,6):\n A.append(int(input()))\n\nend=1\nfor i in range(0,4):\n if A[i+1]-A[i]>A[5]:\n end...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s108967482', 's181103425', 's683440910', 's843448415', 's898337453', 's996547885', 's944330942']
[3060.0, 3060.0, 3060.0, 3060.0, 3060.0, 3060.0, 3060.0]
[17.0, 17.0, 19.0, 17.0, 17.0, 17.0, 17.0]
[185, 169, 195, 197, 197, 225, 195]
p03075
u072717685
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...
["l1 = []\nfor _ in range(6):\n l1.append(int(input())\n \nif (l1[4] - l1[0]) > l1[5]:\n r = ':('\nelse:\n r = 'Yay!'\n \n \nprint(r)", "l1 = []\nfor _ in range(6):\n l1.append(int(input()))\n\nif (l1[4] - l1[0]) < l1[5]:\n r = ':('\nelse:\n r = 'Yay!'\n \n \nprint(r)", "l1\nfor _ in range(6):\n l1.append(in...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s268435132', 's572788191', 's601133882', 's303697436']
[2940.0, 2940.0, 2940.0, 2940.0]
[20.0, 17.0, 17.0, 17.0]
[126, 126, 121, 127]
p03075
u074402558
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:\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!")', 'import sys\na, b, c, d, e, k = map(int,sys.stdin.readlines())\nif e - a > k:\n print(":(")\nelse:\n print("Y...
['Runtime Error', 'Runtime Error', 'Accepted']
['s195317959', 's983628954', 's917985394']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[95, 97, 111]
p03075
u076512055
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...
["num = list()\nfor ii in range(5):\n num.append(int(input()))\ndist = int(input())\n\nif num[-1] - num[0] <= dist:\n print('Yah!')\nelse:\n print(':(')", "num = list()\nfor ii in range(5):\n num.append(int(input()))\ndist = int(input())\n\nif num[-1] - num[0] <= dist:\n print('Yay!')\nelse:\n print('...
['Wrong Answer', 'Accepted']
['s435619598', 's776502083']
[2940.0, 2940.0]
[17.0, 17.0]
[151, 151]
p03075
u076564993
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 d-a<=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 e-a<=k:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s237792817', 's809307120']
[2940.0, 3060.0]
[17.0, 17.0]
[136, 138]
p03075
u076996519
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)]\nif l <= int(input()):\n print('Yay!')\nelse:\n print(':(')", "l = [int(input()) for i in range(5)]\nif l[4]-l[0] <= int(input()):\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s163055869', 's695128626']
[2940.0, 2940.0]
[17.0, 17.0]
[98, 106]
p03075
u078349616
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 _ in range(5)]\nk = int(input())\nfor i in range(4):\n if a[i+1] - a[i] > k\n print(":(")\n exit()\nprint("Yay!")', 'a = [int(input()) for _ in range(5)]\nk = int(input())\nfor i in range(4):\n if a[i+1] - a[0] > k:\n print(":(")\n exit()\nprint("Yay!")']
['Runtime Error', 'Accepted']
['s239732364', 's138144412']
[2940.0, 2940.0]
[17.0, 18.0]
[136, 137]
p03075
u079022116
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)]\nfor i in range(len(s)-2):\n for j in range(1,len(s)-1):\n if abs(s[i] - s[j]) <= s[-1]:\n print(':(')\n exit()\nprint('Yay!')", "s = [int(input()) for i in range(6)]\nfor i in range(len(s)-2):\n for j in range(i+1,len(s)-1):\n print(str(s[i])+' '+str(s[j]))\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s348220791', 's918741286', 's152376553']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[171, 208, 94]
p03075
u082861480
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...
["data = [int(input()) for i in range(6)]\nprint('Yay!' if data[-2] - data[0] =< data[-1] else ':(')", "\ndata = [int(input()) for i in range(6)]\nprint('Yay!' if data[-2] - data[0] =< data[-1] else ':(')\n", "data = [int(input()) for i in range(6)]\nprint('Yay!' if data[-2] - data[0] > data[-1] else ':(')", "data = [i...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s515858201', 's557109418', 's617653065', 's022299501']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[97, 99, 96, 97]
p03075
u088005953
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())\nd = int(input())\nf = int(input())\nh = 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 e - a =< k:\n print("Yay!")\nelse...
['Runtime Error', 'Runtime Error', 'Accepted']
['s826107006', 's956642169', 's000127953']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0]
[155, 155, 155]
p03075
u088020258
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())\na.b=b-a\na.c=c-a\na.d=d-a\na.e=e-a\nb.c=c-b\nb.d=d-b\nb.e=e-b\nc.d=d-c\nc.e=e-c\nd.e=e-d\nif a.b<=k and a.c<=k and a.d<=k and a.e<=k and b.c<=k and b.d<=k and b.e<=k and c.d<=k and c.e<=k and d.e<=k:\n print('Yay!')\nelse...
['Runtime Error', 'Accepted']
['s467442746', 's104309588']
[3064.0, 2940.0]
[17.0, 17.0]
[315, 111]
p03075
u089230684
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...
['line = input()\nnumbers = [int(n) for n in line.split()]\npredicted_value = "Yay!"\nk_distance = numbers[-1]\nantenas = numbers[:-1]\nantenas.sort()\nif antenas[-1] - antenas[0] > k_distance:\n predicted_value = ":("\nprint(predicted_value)', "inp = []\nfor n in range(5):\n inp.append(int(input()))\nk = int(inp...
['Runtime Error', 'Accepted']
['s625961642', 's433835423']
[3060.0, 2940.0]
[17.0, 17.0]
[235, 143]
p03075
u090032260
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\nspot = max(b-a,c-b,d-c,e-d)\nif spot <= k:\n print("Yal!")\nelse:\n print(":(")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nspot = e-...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s096133006', 's994345280', 's563644895']
[3060.0, 3060.0, 3060.0]
[18.0, 17.0, 17.0]
[184, 167, 167]
p03075
u091208113
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\nlst=[A,B,C,D,E]\nneck=min(lst)\nif neck==N:\n ans=5\nelse:\n ans=N//neck+5\n\nprint(ans)', '\n\n\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\n\nantennas=[a,b,c,d,...
['Wrong Answer', 'Accepted']
['s413184542', 's575994326']
[3064.0, 3064.0]
[17.0, 17.0]
[178, 309]
p03075
u093033848
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 = map(int, input().split())\n\nif e - a <= 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\n\nif e - a <= k:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s839151182', 's173276393']
[2940.0, 3060.0]
[17.0, 17.0]
[93, 154]
p03075
u095426154
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(6):\n a.append(int(input()))\nif a[4]-a[0]>a[5]:\n print(":(")\nelse:\n print("Yey!")', 'a=[]\nfor i in range(6):\n a.append(int(input()))\nif a[4]-a[0]>a[5]:\n print(":(")\nelse:\n print("Yay!")']
['Wrong Answer', 'Accepted']
['s455137455', 's911549153']
[2940.0, 2940.0]
[17.0, 17.0]
[109, 109]
p03075
u095756391
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\ndifmax = e - a\nif difmax < 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\ndifmax = e - a\nif difmax...
['Wrong Answer', 'Accepted']
['s257894701', 's182181375']
[3060.0, 3060.0]
[18.0, 18.0]
[168, 168]
p03075
u096100666
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())\ninput()\ninput()\ninput()\ne=int(input())\nk=int(input())\nprint("Yay!" * (e-a > k) or ":(")', 'a,b,c,d,e,k=map(int,input().split())\nprint("Yay!" * (e-a > k) or ":(")', 'a=int(input())\ninput()\ninput()\ninput()\ne=int(input())\nk=int(input())\nprint("Yay!" * (e-a <= k) or ":(")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s247768589', 's799593171', 's170692985']
[3060.0, 3316.0, 2940.0]
[17.0, 141.0, 17.0]
[102, 70, 103]
p03075
u098679988
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...
['\nimport math\n\ndef yes():\n print("Yes")\ndef no():\n print("No")\n#--memo--------------------------------\n\n# x,y = map(int,input().split())\n\n\n#l = []\n\n# l.append(int(input()))\n# print(i,l)\n#--------------------------------------\nl = []\nfor i in range(6):\n l.append(int(input()))\n\nif l[0]...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s096132056', 's137563474', 's486850615', 's542813954', 's688709886', 's729452508']
[3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 18.0, 17.0, 17.0]
[496, 177, 178, 498, 168, 112]
p03075
u100409377
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...
["ans='Yay'\ndata=[]\nfor i in range(5):\n data.append(int(input()))\n\nK=int(input())\nfor i in range(5):\n for j in range(i,5):\n if abs(data[i]-data[j])>K:\n ans=':('\n break\n\nprint(ans)", "ans='Yay!'\ndata=[]\nfor i in range(5):\n data.append(int(input()))\n\nK=int(input())\...
['Wrong Answer', 'Accepted']
['s525613693', 's947587992']
[3060.0, 3060.0]
[17.0, 17.0]
[213, 214]
p03075
u100547715
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 = []\nfor i in range(5):\n li.append(int(input()))\n\nk = int(input())\nli = sorted(li)\nif k > li[4] - li[0]:\n print("Yey!")\nelse:\n print(":(")', 'li = []\nfor i in range(5):\n li.append(int(input()))\n\nk = int(input())\nli = sorted(li)\nif k >= li[4] - li[0]:\n print("Yay!")\nelse:\n print(...
['Wrong Answer', 'Accepted']
['s817691333', 's222529711']
[2940.0, 3064.0]
[17.0, 17.0]
[150, 152]
p03075
u102960641
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 = input()\nif max(a) - min(a) <= k:\n print("Yay!")\nelse:\n print(":(")', 'a = [int(input()) for i in range(5)]\nk = int(input())\nif max(a) - min(a) <= k:\n print("Yay!")\nelse:\n print(":(")\n']
['Runtime Error', 'Accepted']
['s513231433', 's802884952']
[2940.0, 2940.0]
[17.0, 17.0]
[109, 115]
p03075
u103341055
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...
[' \nnum = [int(input()) for _ in range(5)]\nnum2 = [n if n % 10 == 0 else n - (n%10) + 10 for n in num]\n\nc = []\nfor i, j in enumerate(num):\n n = j\n for k,l in enumerate(num2):\n if k == i:\n continue\n else:\n n += l\n c.append(n)\n\nprint(min(c))', 'num = [int(inpu...
['Wrong Answer', 'Accepted']
['s212230592', 's614055395']
[3064.0, 2940.0]
[20.0, 17.0]
[285, 110]
p03075
u103902792
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...
["ant = [int(input()) for i in range(5)]\nk = int(input())\n\nfor i in range(4):\n if abs(ant[i]-ant[i+1]) > k:\n print(':(')\n break\nelse:\n print('Yay')\n ", "ant = [int(input()) for i in range(5)]\nk = int(input())\nprint('Yay!') if ant[-1]-ant[0]<= k else print(':(')\n"]
['Wrong Answer', 'Accepted']
['s287849671', 's190543520']
[2940.0, 2940.0]
[19.0, 17.0]
[156, 109]
p03075
u112247039
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()))\nk = int(input())\nprint('Yay' if l[-1] - l[0]<=k else ':(')", "l=[]\nfor _ in range(5):\n l.append(int(input()))\nk = int(input())\nprint('Yay!' if l[-1] - l[0]<=k else ':(')"]
['Wrong Answer', 'Accepted']
['s471821577', 's926506491']
[8988.0, 9056.0]
[27.0, 27.0]
[109, 110]
p03075
u112364985
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())\nList=[a,b,c,d,e]\nfor i in range(len(List)):\n for j in range(i+1,len(List)+1):\n if List[j]-List[i]>k:\n print(":(")\n exit()\nprint("Yay!")', 'a=int(input())\nb=int(input())\nc=int(input()...
['Runtime Error', 'Accepted']
['s432329415', 's038836488']
[3064.0, 3060.0]
[18.0, 17.0]
[257, 139]
p03075
u112747720
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...
["antennas = [int(input()) for i in range(5)]\n\nmax_dist = int(input())\n\ncoords = {}\n\nfor i in range(len(antennas)):\n coords[i] = antennas[i]\nflag = 1\nfor i in range():\n for j in range(i + 1, 5):\n if abs(coords[i] - coords[j]) > max_dist:\n print(':(')\n flag = 0\n break\n if flag == 0:\n...
['Runtime Error', 'Runtime Error', 'Accepted']
['s271303719', 's853119712', 's122331553']
[3060.0, 2940.0, 3060.0]
[18.0, 17.0, 17.0]
[348, 349, 349]
p03075
u112766430
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...
['data = [int(input()) for i in range(5)]\nK = input()\nprint(":(" if data[4]-data[0]>K else "Yay!" )', 'data = [input() in range(5)]\nK = input()\nprint(":(" if data[4]-data[0]>K else "Yay!" )', 'data = [int(input()) for i in range(5)]\nK = int(input())\nprint(":(" if data[4]-data[0]>K else "Yay!" )']
['Runtime Error', 'Runtime Error', 'Accepted']
['s115574656', 's946783783', 's448649418']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[97, 86, 102]
p03075
u113287094
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\nx = [a,b,c,d,e]\n\nx.sort()\nif x[4] - x[0] > 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())\n\nx...
['Wrong Answer', 'Accepted']
['s030915658', 's945067682']
[3060.0, 3060.0]
[17.0, 17.0]
[189, 190]
p03075
u114648678
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 b-a<=k and c-b<=k and d-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:\n print("Yay!")\nelse:\n pr...
['Runtime Error', 'Accepted']
['s745638156', 's419990944']
[3060.0, 2940.0]
[17.0, 17.0]
[169, 137]
p03075
u115284827
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(6)]\nprint('Yay!' if len(list(filter(lambda x: x >= A[-1], A))) == 0 else ':(')", "A = [int(input()) for i in range(6)]\nans = 0\nfor i in A:\n ans += len(list(filter(lambda x: (i - x) > A[-1], A)))\nprint('Yay!' if ans == 0 else ':(')"]
['Wrong Answer', 'Accepted']
['s880280616', 's603289279']
[2940.0, 2940.0]
[17.0, 17.0]
[111, 151]
p03075
u122195031
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)]\nk = int(input())\nif a-e > k:\n print("Yay!")\nelse:\n print(":(")', 'a,b,c,d,e = [int(input()) for i in range(5)]\nk = int(input())\nif e-a > k:\n print("Yay!")\nelse:\n print(":(")', 'a,b,c,d,e = [int(input()) for i in range(5)]\nk = int(input())\nif a-e > k:\n pri...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s286607187', 's867976999', 's887405510', 's716324623']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[109, 109, 109, 109]
p03075
u123745130
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=list(int(input()) for _ in range(5))\nm=int(input())\ncnt=0\nfor i in range(5):\n if l[i+1]-l[i]<=m:\n cnt+=1\nprint([":(","Yay!"][cnt==5])', 'a,*_,e,k=map(int,open(0))\nprint([":(","Yay!"][e-a<=k])\n']
['Runtime Error', 'Accepted']
['s348106549', 's679910133']
[2940.0, 2940.0]
[17.0, 17.0]
[139, 55]
p03075
u124498235
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())\np = [a, b, c, d, e]\n\nmi = [a%10,b%10,c%10,d%10,e%10]\nmm = [i for i in mi if i != 0]\nmm.sort()\nsum = 0\nfor i in range(5):\n\tif p[i]%10 != 0:\n\t\tsum += (p[i]//10+1)*10\n\telse:\n\t\tsum += p[i]//10*10\nif (mm):\n\tsum -= ...
['Wrong Answer', 'Accepted']
['s002752905', 's055398753']
[3064.0, 3064.0]
[17.0, 17.0]
[330, 227]
p03075
u125205981
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 sys import stdin\n\ndef main():\n I = [int(input()) for _ in [0] * 6]\n\n if I[4] - I[0] >= I[5]:\n print(':(')\n else:\n print('Yah!')\n\ninput = lambda: stdin.readline().rstrip()\nmain()\n", "from sys import stdin\n\ndef main():\n I = [int(input()) for _ in [0] * 6]\n\n if I[4] - I...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s054714869', 's746641067', 's999631360']
[2940.0, 2940.0, 3060.0]
[17.0, 17.0, 19.0]
[206, 205, 205]
p03075
u128646083
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())\nfrag = 0\nmax=a\nmin=a\nif (max<b):\n max=b\nif (max<c):\n max=c\nif (max<d):\n max=d\nif (max<e):\n max=e\nif (min>b):\n min=b\nif (min>c):\n min=c\nif (min>d):\n min=d\nif (min>e):\n min=e\nz= max...
['Runtime Error', 'Accepted']
['s257672590', 's194616876']
[3064.0, 3064.0]
[17.0, 17.0]
[356, 185]
p03075
u130900604
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...
['v=map(int,open(0).read().split())\nif v[5]>=v[4]-v[0]:\n print("Yay")\nelse:\n print(":(")', 'v=list(map(int,open(0).read().split()))\nprint(":("if v[5]<v[4]-v[0]else"Yay")', 'v=list(map(int,open(0).read().split()))\nprint(":("if v[5]<v[4]-v[0]else"Yay!")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s355359816', 's688867820', 's806832189']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[88, 77, 78]
p03075
u133347536
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 b - a <= k and c - b <= k and d - c <= k and e - d <= k and c - a <= k and d - a <= k and e - a <= k and d - b <= k and e - b <= k and e - c <= k:\n print("Yay!\n")\nelse:\n print(": (")\n', 'a = int(i...
['Runtime Error', 'Accepted']
['s228352453', 's321702634']
[2940.0, 3060.0]
[16.0, 20.0]
[294, 282]
p03075
u138781768
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())\ncount = 0\nif n <= a:\n count = 1 + count\nelse:\n while True:\n count = 1 + count\n no = n % a\n if n == no:\n break\nif n <= b:\n count = 1 + count\nelse:\n while T...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s202334934', 's721982633', 's937343638', 's102797214']
[3064.0, 3064.0, 3188.0, 3060.0]
[19.0, 17.0, 17.0, 17.0]
[814, 1225, 1227, 164]
p03075
u139614630
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\n\n\ndef solv(x, y, z, k, a, b, c):\n a = sorted(a, reverse=True)\n b = sorted(b, reverse=True)\n c = sorted(c, reverse=True)\n\n m = max(a[0] - a[-1], b[0] - b[-1], c[0] - c[-1])\n\n while True:\n aa = list(filter(lambda v: v > a[0] - m, a))\n bb = list(filter(la...
['Runtime Error', 'Accepted']
['s105463405', 's430117258']
[3064.0, 3064.0]
[17.0, 17.0]
[933, 436]
p03075
u142577570
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 = [input() for i in range(3)]\ntemp = 0\nfor i in range(len(s)-1):\n for j in range(i):\n if int(s[i])-int(s[j]) > int(s[5]):\n temp += 1\nif temp == 0:\n print('Yay!')\nelse:\n print(':(')", 'import math\nn = [int(input()) for i in range(6)]\ntemp = 9\nanswer = 0\nfor i in n:\n last_dig = i % 10\n if ...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s004256696', 's096077867', 's180358721', 's247264710', 's347663959', 's463625469', 's609609806', 's828614387', 's975267529', 's983836873', 's986647815', 's849737661']
[3060.0, 3060.0, 3064.0, 2940.0, 2940.0, 3060.0, 2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[193, 199, 299, 138, 200, 240, 48, 239, 188, 183, 130, 449]
p03075
u145600939
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...
["ae = [int(input()) for _ in range(5)]\nae.sort()\nif ae[-1] - ae[0] <= int(Input()):\n print('Yay!')\nelse:\n print(':(')", "ae = [int(input()) for _ in range(5)]\nae.sort()\nif ae[-1] - ae[0] <= int(input()):\n print('Yay!')\nelse:\n print(':(')\n"]
['Runtime Error', 'Accepted']
['s861928799', 's741762401']
[2940.0, 2940.0]
[17.0, 18.0]
[118, 119]
p03075
u145950990
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...
["d = [int(input()) for i in range(5)]\nk = int(input())\nans = 'Yey!'\nfor i in d:\n for j in d:\n if abs(i-j)>k:\n ans = ':('\nprint(ans)\n", "antenna = [int(input()) for i in range(5)]\nk = int(input())\nans = 'Yey!'\nfor i in range(5):\n for j in range(i):\n if abs(antenna[i]-antenna[...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s599683770', 's783141890', 's588179498']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[152, 189, 152]
p03075
u148079233
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...
["arr = []\nfor i in range(5):\n arr.append(int(input()))\nk = int(input())\nif k < max(arr) - min(arr):\n print('Yay!')\nelse:\n print(':(')", "arr = []\nfor i in range(5):\n arr.append(int(input()))\nk = int(input())\nif k >= max(arr) - min(arr):\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s888017955', 's627441785']
[2940.0, 2940.0]
[17.0, 17.0]
[135, 136]
p03075
u148540382
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...
['num = []\nn = int(input())\nfor i in range(5):\n num.append(int(input()))\na = min(num)\nt = n // a\nt += 4\nif (n % a != 0):\n t += 5\nelse:\n \nprint(t)\n', 'num = []\nn = int(input())\nfor i in range(5):\n num.append(int(input()))\na = min(num)\nt = n // a\nt += 4\nprint(t)\n', 'antenna = [int(input())...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s074457234', 's123073750', 's625915108']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[153, 114, 230]
p03075
u150787983
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\n\ndish_min = []\n \nfor i in range(5):\n dish_min.append(int(input()))\n \np = [i%10 for i in dish_min]\npp = [(i-1)%10 for i in dish_min]\nx = np.argmin(pp)\n\nfor i in range(5):\n if i != x and p[i]:\n \tdish_min[i] += (10 - p[i])\n\nprint(sum(dish_min))', 'import numpy as np\n\ndish_min ...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s144613767', 's316767733', 's397077386', 's121762535']
[12396.0, 12404.0, 3064.0, 3060.0]
[150.0, 148.0, 17.0, 17.0]
[267, 282, 490, 277]
p03075
u153419200
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 i in range(5)]\nb=int(input())\nif a[4]-a[0]>b:\n print('Yay!')\nelse:\n print(':(')", "a=[int(input()) for i in range(5)]\nb=int(input())\nif a[4]-a[0]<=b:\n print('Yay!')\nelse:\n print(':(')\n"]
['Runtime Error', 'Accepted']
['s001425418', 's995951048']
[2940.0, 2940.0]
[17.0, 17.0]
[105, 103]
p03075
u156302018
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...
['inputstr1 = [input() for inputstr1 in range(6)]\n\na = int(inputstr1[0])\nb = int(inputstr1[1])\nc = int(inputstr1[2])\nd = int(inputstr1[3])\ne = int(inputstr1[4])\nk = int(inputstr1[5])\n\ninputmax = max(a, b, c, d, e)\ninputmin = min(a, b, c, d, e)\n\n\nif inputmax - inputmin <= k :\n print("yay!")\nelse:\n ...
['Wrong Answer', 'Accepted']
['s489746576', 's305273280']
[3064.0, 3064.0]
[17.0, 17.0]
[313, 313]
p03075
u157887852
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...
["list = [a,b,c,d,e]\nflag = 0\n\nfor first_num in list:\n for second_num in list:\n if (first_num - second_num) > abs(k):\n flag = 1\n \nif flag == 0:\n print('Yay!') \nelse:\n print(':(')\n ", "a = input()\nb = input()\nc = input()\nd = input()\ne = input()\nk = input()\n\n\nlist = [a,b,c,d,e]...
['Runtime Error', 'Accepted']
['s341406009', 's120213770']
[2940.0, 3064.0]
[17.0, 17.0]
[202, 286]
p03075
u162893962
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...
['\ndishes = [input() for _ in range(5)]\n\nsum_dishes = 0\nlast_dish = 0\nlast_tmp = 0\nfor idx, dish in enumerate(dishes):\n tmp = 10 - int(dish[-1])\n dish = int(dish)\n if tmp == 10:\n sum_dishes += dish\n elif tmp > last_tmp:\n sum_dishes += last_dish + last_tmp\n last_dish = dish\...
['Wrong Answer', 'Accepted']
['s503111220', 's471415974']
[3064.0, 3064.0]
[17.0, 17.0]
[436, 504]
p03075
u164149485
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...
["arr=[]\nfor i in range(5):\n arr.append(int(input()))\nk = int(input())\n\nprint(arr,k)\ni=0\nsingi=0\nif k >= arr[4] - arr[0]:\n print('Yay!')\nelse:\n print(':(')", "arr=[]\nfor i in range(5):\n arr.append(int(input()))\nk = int(input())\n\ni=0\nsingi=0\nif k >= arr[4] - arr[0]:\n print('Yay!')\nelse...
['Wrong Answer', 'Accepted']
['s721959806', 's548524351']
[3060.0, 2940.0]
[17.0, 19.0]
[162, 149]
p03075
u164261323
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()] for i range(6)]\n\nprint("Yay!" if abs(a-e) <= k else ":(" )', 'A = map(int,input())\n\nprint("Yay!" if A <= A[5] else ":(" )', 'a,b,c,d,e,k=[int(input()) for i in range(6)]\nprint("Yay!" if abs(a-e)<=k else ":(")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s464033598', 's910989306', 's595138991']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[86, 59, 83]
p03075
u164474813
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 = input()\nc = input()\nd = input()\ne = int(input())\nk = int(input())\nif e - a <= k:\n print("Yey!")\nelse:\n print(":(")', 'a = int(input())\nb = input()\nc = input()\nd = input()\ne = input()\nk = int(input())\nif e - a <= k:\n print("Yey!")\nelse:\n print(":(")', 'a = int(input()...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s019983437', 's533513333', 's820274685', 's740332333']
[3060.0, 3060.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[141, 136, 131, 141]
p03075
u166306121
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()))\n\nk = int(input())\nif a[5] - a[0] > k:\n print(":(")\nelse:\n print("Yay!")', 'a = []\nfor i in range(5):\n a.append(int(input()))\n\nk = int(input())\nif a[4] - a[0] > k:\n print(":(")\nelse:\n print("Yay!")']
['Runtime Error', 'Accepted']
['s829625329', 's020608415']
[2940.0, 2940.0]
[18.0, 17.0]
[130, 130]
p03075
u166621202
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 max((b-a),(c-a),(d-a),(e-a),(c-b),(d-b),(e-b),(d-c),(e-c),(e-d)) < k:\n print(":(")\nelse:\n print("Yay!")', 'a,b,c,d,e,k=list(int(input()) for _ in range(6))\nif e-a > k:\n print(":(")\nelse:\n print("Yay!")']
['Wrong Answer', 'Accepted']
['s914370604', 's054519926']
[3064.0, 2940.0]
[18.0, 17.0]
[199, 96]
p03075
u167681750
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...
['order = [int(input()) for i in range(5)]\norder = list(map(lambda x: -(-x //10), order))\nsum_order = sum(order)\n\ndiff = (sorted(map(lambda x: (x % 10), order)))\ndiff = [i for i in diff if i != 0]\n\nprint ((sum_order * 10) - 10 + diff[0])', 'order = [int(input()) for i in range(5)]\ndiff = (sorted(map(lambda x: (...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s495013944', 's574773919', 's684895294']
[3060.0, 3060.0, 2940.0]
[17.0, 18.0, 17.0]
[235, 249, 122]
p03075
u169138653
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())\nfor i in range(4):\n for j in range(1,5):\n if abs(a[i]-a[j])>k:\n print(':(')\n exit()\nprint('Yay')\n", "a=[int(input()) for i in range(5)]\nk=int(input())\nfor i in range(n-4):\n for j in range(1,n):\n if abs(a[i]-a[j])>k:\n print(':(')\n ...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s377069302', 's488062215', 's998206510', 's962136427']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[161, 162, 162, 162]
p03075
u170765582
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 _ in[0]*6];print((~-a[0]//min(a[1:]))+5)', "a,*b=eval('int(input()),'*6);print(~-a//min(b)+5)", 'a=[int(input())for i in[0]*6];import math;print(math.ceil(a[0]/min(a[1:])))', "a,*_,e,k=eval('int(input()),'*6);print(':('*(e-a>k)|'Yay!')", 'a=[int(input())for i in[0]*6];import math;print(math.ceil(a[...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s034227485', 's236107435', 's373597574', 's534660173', 's738842554', 's138688812']
[2940.0, 3060.0, 2940.0, 3060.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[59, 49, 75, 59, 77, 81]
p03075
u175034939
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 _ in range(5)]\nk = int(input())\nprint(a)\nif a[-1] - a[0] <= k:\n print('Yay!')\nelse:\n print(':(')", "a = [int(input()) for _ in range(5)]\nk = int(input())\nif (a[-1] - a[0]) <= k:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s900349449', 's207668774']
[2940.0, 2940.0]
[17.0, 17.0]
[124, 117]
p03075
u175590965
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 in range(6)]\nif a[4] - a[0] > a[5]:\n print(":(")\nelse:\n print("Yay!")', 'a = [int(input())for i in range(6)]\nif a[4] - a[0] > a[5]:\n print(":(")\nelse:\n print("Yay!")']
['Runtime Error', 'Accepted']
['s394619585', 's815495103']
[2940.0, 2940.0]
[17.0, 17.0]
[96, 98]
p03075
u177756077
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().strip())\nk=int(input().strip())\nd=max(a)-min(a)\nif d<=k:\n print("Yay!")\nelse:\n print(":(")', 'a=[0]*5\nfor i in range(5):\n a[i]=int(input().strip())\nk=int(input().strip())\nd=max(a)-min(a)\nif d<=k:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s271904773', 's674314261']
[2940.0, 3060.0]
[17.0, 17.0]
[145, 144]
p03075
u183200783
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\nlist = [a, b, c, d, e]\n\ncan = False\nfor i in range(len(list)):\n for j in range(len(list)):\n if i == j:\n continue\n if abs(list[i] - list[j]) > k:\n break\n \nif can:\n print("Yay!...
['Wrong Answer', 'Accepted']
['s540531409', 's645873605']
[3060.0, 3060.0]
[17.0, 17.0]
[323, 152]
p03075
u185673272
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\nN = input()\na = []\nfor i in range(N):\n a.append(input())\ndero=np.zeros((25,2))\nfor i in range(5):\n for j in range (5):\n dero[i*5+j][0]=a[j]-a[i]\n dero[i*5+j][1]=a[5]\nfor i in range(5):\n for j in range (5):\n dero[i*5+j][0]=a[j]-a[i]\n dero[i*5+j][1]=a[5]', 'import numpy ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s027892921', 's191294893', 's309379661', 's467380021', 's818640628', 's960453554', 's499187952']
[12420.0, 12500.0, 12504.0, 2940.0, 3064.0, 12412.0, 12444.0]
[149.0, 149.0, 150.0, 18.0, 17.0, 149.0, 149.0]
[288, 308, 275, 315, 270, 266, 289]
p03075
u185966380
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...
['B = [int(input()) for _ in range(5)]\nA = [10-int(str(B[i])[-1]) for i in range(5) if str(B[i])[-1] != "0"]\nif len(A) != 0:\n\tA.remove(max(A))\nprint(sum(B)+sum(A))', 'B = [int(input()) for _ in range(5)]\nA = [10-int(str(B[i])[-1]) for i in range(5) if str(B[i])[-1] != "0"]\nA.remove(max(A))\nprint(sum(B)+sum(A))'...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s416918761', 's582825864', 's081930617']
[3060.0, 3060.0, 3064.0]
[19.0, 19.0, 17.0]
[161, 144, 251]
p03075
u186206732
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(6):\n a[i] = int(input())\n\nout_flag = False\n \nfor i in range(4):\n if a[i+1]-a[i] > a[5]:\n out_flag = True\n\nif out_flag: \n print(':(')\nelse:\n print('Yay!')\n", "\n\na = []\n\nfor i in range(6):\n a.append(int(input()))\n\nif a[4] -a[0] <= a[5]:\n print('Yay!...
['Runtime Error', 'Accepted']
['s601010679', 's081177161']
[2940.0, 2940.0]
[17.0, 17.0]
[215, 141]
p03075
u187233527
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...
['foods = [int(input()) for i in range(5)]\ntime = 0\nrest = list(map(lambda x: x % 10, foods))\nfor i in range(5):\n if rest[i] == 0:\n time += foods[i]\n else:\n time += foods[i] - rest[i] + 10\n\nif not any(rest):\n print(time)\nelse:\n print(time - 10 + min([i for i in rest if i != 0]))', '...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s431594297', 's569432437', 's029876289']
[3060.0, 3188.0, 3060.0]
[17.0, 18.0, 17.0]
[302, 852, 217]
p03075
u190178779
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\narray = [0,0,0,0,0,0]\nfor I in range(len(array)):\n array[I] = int(input())\n if not ( 0 <= array[I] <= 123 ):\n sys.exit()\nprint('Yey!') if (array[4] - array[0]) <= array[-1] else print(':(')", "import sys\narray = [0,0,0,0,0,0]\nfor I in range(len(array)):\n array[I] = int(input())\n ...
['Wrong Answer', 'Accepted']
['s472083987', 's783899031']
[9116.0, 9120.0]
[28.0, 24.0]
[213, 213]
p03075
u190406011
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...
['data_ls = []\nfor i in range(5):\n data_ls.append(int(input()))\nk = int(input())\nsort(data_ls)\nif data_ls[-1] - data_ls[0] > k:\n print("Yay!")\nelse:\n print(":(")', 'data_ls = []\nfor i in range(5):\n data_ls.append(int(input()))\nk = int(input())\ndata_ls = sorted(data_ls)\nif data_ls[-1] - data_ls[0] > k:\...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s397279040', 's903375314', 's596061777']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[162, 174, 163]
p03075
u190873802
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# Your code here!\na=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif a-b>k and a-c>k and a-d>k and a-e>k and b-c>k and b-d>k and b-e>k and c-d>k and c-e>k and d-e>k:\n print("Yay!")\nelse:\n print(":(")', '# coding: utf-8\n# Your code here!\na=in...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s011729511', 's182519933', 's731800990', 's646785075']
[9096.0, 9192.0, 8948.0, 9164.0]
[23.0, 26.0, 28.0, 24.0]
[263, 313, 173, 159]
p03075
u193598069
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\nantennas = [int(input()) for _ in range(5)]\nk = int(input())\n\nfor p in range(5):\n for q in range(p+1,5):\n if antennas[q] - antennas[p] > k:\n print ':('\n sys.exit()\n\nprint 'Yay!'\n \n ", "import sys\n \nantennas = [int(input()) for _ in range(5)]\nk = int(input())\n \nfor p...
['Runtime Error', 'Runtime Error', 'Accepted']
['s161196844', 's758573110', 's890447125']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[215, 205, 209]
p03075
u194440952
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#a,b,c,d,e,k = 2,4,7,8,15,1\n#box = [a,b,c,d,e]\nbox = []\nfor i in range(0,5):\n box.append(int(input())\nk = int(input())\nc = 0\nfor i in range(0,4):\n if box[i+1] - box[i] > k :\n c +=1\n else:\n pass\nif c == 0:\n print("Yay!")\nelse:\n print(":(")', '# -*- c...
['Runtime Error', 'Runtime Error', 'Accepted']
['s047781869', 's431246365', 's142080757']
[2940.0, 2940.0, 3316.0]
[17.0, 17.0, 22.0]
[291, 274, 334]
p03075
u194894739
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()\nif e - a > k:\n \tprint(':(')\nelse:\n \tprint('Yay!')\n", 'from math import ceil\ntime_list = [int(input()) for i in range(5)]\nsum_list = []\ntime_list_0 = []\nfor i in range(5):\n time_list_0[i] = ceil(time_list[i] / 10) * 10\nfor j...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s048941209', 's310476003', 's759388058', 's767837915', 's656846663']
[2940.0, 3060.0, 2940.0, 2940.0, 3060.0]
[18.0, 17.0, 17.0, 17.0, 17.0]
[124, 346, 95, 90, 153]
p03075
u196697332
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 e - a > k:\n print('Yay')\nelse:\n print(':(')", "a = input()\nb = input()\nc = input()\nd = input()\ne = input()\nk = input()\nif int(e) - int(a) >= int(k):\n print(':(')\nelse:\n print('Yay')", "a = ...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s020601190', 's027979054', 's718099614', 's755363794', 's797175060', 's206135901']
[3060.0, 3060.0, 2940.0, 2940.0, 3060.0, 3060.0]
[17.0, 19.0, 17.0, 17.0, 17.0, 17.0]
[151, 136, 120, 135, 151, 137]
p03075
u197300773
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\nimport sys\n\nX,Y,Z,K=map(int,input().split())\n\nx=sorted(list(map(int,input().split())),reverse=True)\ny=sorted(list(map(int,input().split())),reverse=True)\nz=sorted(list(map(int,input().split())),reverse=True)\n\n\n\n\n\nyz=[]\nfor i in range(Y):\n yz=yz+[ y[i]+z[j] for j in range(Z)]\n\nyz.sort(r...
['Runtime Error', 'Accepted']
['s175908190', 's643306918']
[3064.0, 3316.0]
[17.0, 21.0]
[739, 238]
p03075
u197922478
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 if c-a<k:\n if d-a<k:\n if e-a<k:\n print("Yay!")\n else:\n print(":(")\n break\n else:\n print(":(")\n break\n else:\n print(":(")\n break\n...
['Runtime Error', 'Accepted']
['s930158010', 's932319255']
[3060.0, 3060.0]
[18.0, 18.0]
[326, 149]
p03075
u198624562
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()] \nif a[4]-a[0]<=a[5]:\n print("Yay!")\nelse:\n print(":(")', 'a, b, c, d, e, k = (int(i) for i in input().split())\n_dis=[a,b,c,d,e]\nif a-e>k:\n print(":(")\nelse:\n print("Yay!")\n ', "a, b, c, d, e, k = [int(input()) for i in range(6)]\nif e-a<=k:\n print('Yay!')\nelse:\...
['Runtime Error', 'Runtime Error', 'Accepted']
['s336755842', 's850760841', 's546813440']
[2940.0, 2940.0, 3060.0]
[18.0, 17.0, 17.0]
[94, 118, 98]
p03075
u200346982
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\ta.append(int(input().split()))\nk = int(input().split())\n\nfor i in range(4):\n if a[i+1] - a[i] > k :\n print(": (")\n exit()\n\nprint("Yay!")', 'a = []\nfor i in range(5):\n\ta.append(int(input()))\nk = int(input())\n \nfor i in range(4):\n for j in range(i+1, 5): \n if a[j...
['Runtime Error', 'Accepted']
['s295566751', 's284726758']
[3060.0, 2940.0]
[17.0, 18.0]
[170, 186]
p03075
u200527996
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 _ in range(6):\n a.append(int(input()))\nfor i in range(6):\n for j in a[i+1:]:\n if abs(a[i]-j) > k:\n print(":(")\n exit()\nprint("Yay!")', 'a = []\nfor _ in range(5):\n a.append(int(input()))\nk = int(input())\nfor i in range(5):\n for j in a[i+1:]:\n if abs(a[i]...
['Runtime Error', 'Accepted']
['s480086805', 's488470283']
[2940.0, 2940.0]
[17.0, 17.0]
[171, 195]
p03075
u203211107
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...
['\nX=[int(input()) for i in range(5)]\nK=int(input())\nprint(X)\nX.sort()\nif (X[4]-X[0])<=K:\n print("Yay!")\nelse:\n print(":(") ', '\nX=[int(input()) for i in range(5)]\nK=int(input())\nX.sort()\nif (X[4]-X[0])<=K:\n print("Yay!")\nelse:\n print(":(") ']
['Wrong Answer', 'Accepted']
['s075258941', 's384679037']
[2940.0, 2940.0]
[17.0, 17.0]
[155, 146]