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
u714732628
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\nR=[a,b,c,d,e,k]\n\nfor i in 4:\n d=R[i]-R[0]\n e=R[i]-R[1]\n f=R[i]-R[2]\n g=R[i]-R[3]\n if d>k or e>k or f>k or g>K:\n print(":(")\n exit()\nprint("Yay!")', 'a=int(input())\nb=int(input())\nc=int(input())\nd=int(input...
['Runtime Error', 'Accepted']
['s311225502', 's053096157']
[3064.0, 3064.0]
[18.0, 18.0]
[238, 246]
p03075
u716649090
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()))\nl = []\n\nfor i in range(X):\n for j in range(Y):\n l.append(a[i] + b[j])\nl.sort(reverse = True)\nl = l[:K]\n\nL = []\nc.sort(reverse = True)\n\nfor i in ra...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s226193296', 's741010461', 's903131005', 's553320247']
[3064.0, 3064.0, 3064.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[427, 351, 435, 281]
p03075
u716660050
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):l.append(int(input()))\nk=int(input())\nc=0\nfor i in l:\n for j in l:\n if abs(i-j)>k: c+=1\nprint('yay!' if c==0 else ':(')", "for i in range(5):l.append(int(input()))\nk=int(input())\nc=0\nfor i in l:\n for j in l:\n if abs(i-j)>k:c+=1\nprint('Yay!' if c==0 else ':(')", ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s280427789', 's449838354', 's815540734']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[152, 146, 151]
p03075
u721407235
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()))\n\nA.sort(reverse=True)\nB.sort(reverse=True)\nC.sort(reverse=True)\n\nK=min(K,3000)\n\nAB=[a+b for a in A for b in B]\nAB.sort(reverse=True)\n\nABC=[ab+c for ab in AB[:K] for c in C]...
['Runtime Error', 'Runtime Error', 'Accepted']
['s112559950', 's523958377', 's573588771']
[3064.0, 3188.0, 3064.0]
[18.0, 18.0, 17.0]
[363, 367, 194]
p03075
u721425712
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 l = int(input())\n a.append(l)\nk = int(input())\n\nif a[4]-a[0] > k:\n print('Yay!')\nelse:\n print(':(')", "a = []\nfor i in range(5):\n l = int(input())\n a.append(l)\nk = int(input())\n\nif a[4]-a[0] <= k:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s652772214', 's967214241']
[2940.0, 2940.0]
[17.0, 17.0]
[138, 139]
p03075
u723636155
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\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\n\nk = int(input())\n\n\nint max_dis = e -a\n \n\nif max_dis < k:\n print('Yay!')\nelse:\n print(':(')\n", "# -*- coding: utf-8 -*-\n\n\na = int(input())\nb = int(input())\nc = int(input(...
['Runtime Error', 'Accepted']
['s863703720', 's050759734']
[2940.0, 2940.0]
[17.0, 17.0]
[333, 330]
p03075
u725133562
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 (e-a>k):\n print(":(")\nelse:\n print("Yay!")\n', "a,b,c,d,e,k = map(int, input().split())\n\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']
['s661647229', 's800422670', 's959311536']
[2940.0, 3060.0, 2940.0]
[17.0, 20.0, 17.0]
[89, 86, 151]
p03075
u725185906
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]\nfor i in range(4):\n for j in range(i+1,5):\n if list[i]-list[j]>k:\n a=1\nif a==1:\n print(":(")\nelse:\n print(\'Yay!\')', 'a=int(input())\nb=int(input())\nc=int(input())\nd...
['Wrong Answer', 'Accepted']
['s234189782', 's970646537']
[3064.0, 3064.0]
[17.0, 18.0]
[248, 269]
p03075
u728615412
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 = map(int,input())\nb = map(int,input())\nc = map(int,input())\nd = map(int,input())\ne = map(int,input())\nk = map(int,input())\n\nList = list(a,b,c,d,d,e)\nif max(List)-min(List) <= k:\n\tprint("Yay!")\nelse<\n\tprint(":(")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input()...
['Runtime Error', 'Accepted']
['s577990985', 's694497757']
[2940.0, 3060.0]
[17.0, 18.0]
[214, 186]
p03075
u729938879
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 = []\nfor i in range(5):\n inp = int(input())\n a.append(inp)\nmini = min(a)\nmini_list = [i for i in range(len(a)) if a[i]==mini]\nmini_no = len(mini_list)\n\nif n < mini:\n print(5)\nelif mini_no==1 or mini_no==5:\n time = int(n/mini) +1\n print(time+4)\nelse:\n time = int(n/mi...
['Wrong Answer', 'Accepted']
['s927117485', 's682412951']
[3064.0, 2940.0]
[17.0, 17.0]
[348, 147]
p03075
u730476362
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 = input()\n\nif a[4] - a[0] <= k:\n print("Yay!")\nelse:\n print(":(")\n', '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 print(":(")\n']
['Runtime Error', 'Accepted']
['s717045330', 's082360088']
[2940.0, 2940.0]
[17.0, 17.0]
[127, 132]
p03075
u732061897
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(i) for i in int(input()))\ncity = (d, c, b, a)\nresult = 'Yay!'\nfor i, c in enumerate(city):\n for cC in city.index(i + 1, city.count()):\n if (c - cC) > k:\n result = ':('\n break;\nprint(result)\n", "a = int(input())\nb = int(input())\nc = int(input())\nd = i...
['Runtime Error', 'Accepted']
['s470941131', 's374828469']
[3060.0, 9000.0]
[17.0, 26.0]
[246, 214]
p03075
u732870425
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-d or k < d-c or k < c-b or b-a:\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 k < abs(...
['Wrong Answer', 'Accepted']
['s859390908', 's411148737']
[3060.0, 3060.0]
[17.0, 17.0]
[183, 159]
p03075
u733608212
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 = [int(input()) for _ in range(5)]\nk = int(input())\n\nif k >= li[-1] - li[0]:\n print("yay!")\nelse:\n print(":(")', 'li = [int(input()) for _ in range(5)]\nk = int(input())\n\nif k > li[-1] - li[0]:\n print("yay!")\nelse:\n print(":(")', 'li = [int(input()) for _ in range(5)]\nk = int(input())\n\n...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s431088313', 's814167548', 's419005775']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[120, 119, 120]
p03075
u734519000
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 a[4]-a[0]>a[5] else ":(")', 'a = [int(input()) for i in range(6)]\nprint("Yay!" if a[4]-a[0]<=a[5] else ":(")\n']
['Wrong Answer', 'Accepted']
['s447088781', 's560245554']
[2940.0, 2940.0]
[18.0, 18.0]
[78, 80]
p03075
u738898077
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', 'a_list = []\n[a_list.append(int(input())) for i in range(5)]\nk = int(input())\nprint("Yay!") if k >= (max(a_list)-min(a_list)) else print(":(")']
['Runtime Error', 'Accepted']
['s262483309', 's452846134']
[2940.0, 2940.0]
[17.0, 17.0]
[1, 141]
p03075
u739721456
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())\nif a%10==0:\n a_q=a\nelse:\n a_q=(a//10+1)*10\nif b%10==0:\n b_q=b\nelse:\n b_q=(b//10+1)*10\nif c%10==0:\n c_q=c\nelse:\n c_q=(c//10+1)*10\nif d%10==0:\n d_q=d\nelse:\n d_q=(d//10+1)*10\nif e%10==0:\n e_q=e\nel...
['Wrong Answer', 'Accepted']
['s440856537', 's176803045']
[3064.0, 8996.0]
[18.0, 26.0]
[465, 105]
p03075
u740047492
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]\nprint("Yay!" if abs(max(S)-min(S)>=k) else ":(")', 's=[int(input()) for i in range(5)]\nk=int(input())\nprint("Yay" if abs(max(s)-min(s)<=k) else ":(")', 's=[int(input()) for i in range(5)]\nk=int(input())\n...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s016286959', 's093129579', 's715692924', 's799573492', 's663490619']
[3060.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0, 17.0, 17.0]
[152, 97, 94, 97, 98]
p03075
u740284863
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())\nL = [int(input()) for i in range(5)]\nans = n //min(L) + 5 \nprint(ans)\n', 'L = [int(input()) for i in range(5)]\nk = int(input())\nfor i in L:\n for j in L:\n if abs(i - j) > k:\n print(":(")\n exit()\nprint("Yay!")']
['Wrong Answer', 'Accepted']
['s598859380', 's055486359']
[2940.0, 2940.0]
[20.0, 17.0]
[89, 165]
p03075
u740813346
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 = 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 p...
['Wrong Answer', 'Accepted']
['s064711385', 's190771250']
[3060.0, 3060.0]
[18.0, 17.0]
[151, 153]
p03075
u741495664
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 = []\nindent = 0\nfor i in range(5):\n memory = 9\n list.append(int(input()))\n if memory > list[i] % 10 and list[i] % 10 > 0:\n \tindent = i\n \ncount = 0\nfor i in range(5):\n if i == indent:\n count += list[i]\n else:\n count += 10 * (int(list[i]/10) + 1)\n \nprint(count)', 'list = []\nindent = 0\...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s393330802', 's689053387', 's734241818', 's757685817', 's795078464', 's812933963']
[3060.0, 3064.0, 3060.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0, 20.0]
[276, 255, 255, 276, 225, 213]
p03075
u742087517
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 a-b>k:\n print(':(')\nelif b-c>k:\n print(':(')\nelif c-d>k:\n print(':(')\nelif d-e>k:\n print(':(')\nelif a-e<k:\n print('Yay')", "a=int(input())\nb=int(input())\nv=int(input())\nd=int(input())\ne=int(inp...
['Wrong Answer', 'Accepted']
['s125525845', 's567515941']
[3060.0, 3064.0]
[17.0, 18.0]
[225, 370]
p03075
u746849814
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())\ncnt = 0\nfor i in range(n-1):\n if A[i+1] - A[i] > k:\n cnt += 1\nif cnt:\n print(':(')\nelse:\n print('Yay!')", "A = [int(input()) for _ in range(5)]\nk = int(input())\n\nif A[-1] - A[0] > k:\n print(':(')\nelse:\n print('Yay!')"]
['Runtime Error', 'Accepted']
['s182214192', 's142738288']
[2940.0, 2940.0]
[17.0, 17.0]
[173, 115]
p03075
u747873993
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)]\ndef Five(A):\n\tfor i in range(len(A)-2):\n \t\tif A[i+1]-A[i] > A[-1]:\n \t\treturn print(":(")\n\treturn print("Yay!")\nFive(A)', 'A=[int(i) for i in input()]\ndef Five(A):\n\tfor i in range(len(A)-2):\n \t\tif A[i+1]-A[i] > A[-1]:\n \t\treturn print(":(")\n\treturn print...
['Runtime Error', 'Runtime Error', 'Accepted']
['s225851475', 's598908468', 's860162488']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[157, 150, 134]
p03075
u749608932
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())\ndishes = [a,b,c,d,e]\nn = []\nans = 0\nfor i in range(5):\n if dishes[i]%10==0:\n ans += dishes[i]//10\n else:\n ans += dishes[i]//10+1\n n.append(dishes[i]%10) \nans = ans*10-10+min(n)\nprint(ans)', 'a = int(input())...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s081928711', 's107182342', 's306367721', 's433897480', 's471362942', 's480107941', 's633324048', 's032002205']
[3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 3060.0]
[17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0]
[283, 318, 283, 308, 294, 287, 311, 99]
p03075
u753810022
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())\nf = e-a\nif f > k:\n print(':(')\nelse:\n print('Yay!')", "a, b, c, d, e, k = map(int, input().split())\nf = int(e-a)\nif f > k:\n print(':(')\nelse:\n print('Yay!')", "a = [int(input()) for i in range(6)] \nf = a[4] - a[0]\nif f > a[5]:\n print(':(')\nelse...
['Runtime Error', 'Runtime Error', 'Accepted']
['s075751624', 's781274289', 's412613830']
[2940.0, 2940.0, 2940.0]
[17.0, 20.0, 17.0]
[102, 107, 106]
p03075
u755666122
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 \nnumber1 = [a, b, c, d, e]\nnumber2 = [b, c, d, e]\n \n \nfor num1 in number1:\n for num2 in number2:\n if abs(num1 - num2) <= k:\n print('Yay!')\n else:\n print(':(')", "a = int(input())\nb ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s002618020', 's065217229', 's030764806']
[3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[278, 276, 307]
p03075
u756518089
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())\narr = [a,b,c,d,e]\nbool = True\n\nfor i in range(len(arr)):\n for j in range(len(arr)):\n if i != j && abs(arr[i] - arr[j]) > k:\n bool = False\n break;\n \nif bool:\n print("Yay!")\nelse:\n...
['Runtime Error', 'Accepted']
['s704671143', 's726324254']
[2940.0, 3064.0]
[17.0, 17.0]
[313, 314]
p03075
u756518877
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=[]\nans="Yay!"\nfor _ in range(6):\n a.append(int(input()))\nfor i in range(5):\n for j in range(i+1,5):\n if abs(a.append(i)-a.append(j))>a.append(5):\n ans=":("\n break\nprint(ans)', '# -*- coding: utf-8 -*-\na=[]\nans="Yay!"\nfor _ in range(6):\n a.append(int(input()))\nf...
['Runtime Error', 'Runtime Error', 'Accepted']
['s606557315', 's812805831', 's331850158']
[3316.0, 3316.0, 3316.0]
[19.0, 19.0, 19.0]
[214, 193, 193]
p03075
u757117214
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,*l=map(int,open(0).read().split())\nprint(4+math.ceil(n/min(l)))\n', 'import itertools\nlst=[]\nfor i in range(5):\n lst.append(int(input()))\nk=int(input())\nl=list(itertools.combinations(lst,2))\nflg=True\nfor i in l:\n if (i[1]-i[0]) > k:\n flg = False\nprint("Yay!" if flg else ":(") ']
['Wrong Answer', 'Accepted']
['s104872786', 's666083209']
[2940.0, 3060.0]
[17.0, 17.0]
[78, 215]
p03075
u758649177
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\tprint("Yay!")\nelse:\n\tprint(":(")', 'a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif k<=e-a :\n print("Yay!")\nelse:\n\tprint(":(")', 'a=int(input())\nb=...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s437571291', 's754757159', 's873324652']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[135, 136, 136]
p03075
u759412327
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)]\nb = int(input())\nc = sorted(a)\n\nif c[5]-c[0]<=b:\n print("Yay!")\nelse:\n print(":(")', 'a,b,c,d,e,k = map(int,open(0).read().split())\n\nif e-a<=k:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s014531595', 's554122158']
[3060.0, 9092.0]
[17.0, 27.0]
[121, 93]
p03075
u760171369
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\naa = A // 10\nbb = B // 10\ncc = C // 10\ndd = D // 10\nee = E // 10\n \nr = np.array([a, b, c, d, e])\nk = (r > 0).sum()\nl = r[r != 0].min()\...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s236494485', 's439082739', 's005190455']
[21528.0, 12504.0, 3060.0]
[311.0, 150.0, 17.0]
[393, 394, 153]
p03075
u763380276
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())\nlist1=[A,B,C,D,E]\nsum=0\nfor item in list1:\n if(item%10==0):\n sum+=item\n else:\n sum=sum+item+(10-item%10)\nprint(sum', 'A=int(input())\nB=int(input())\nC=int(input())\nD=int(input())\nE=int(input())\nlist1=[A,B,C,D,E]\nsum=0\...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s256239888', 's437637414', 's691827956', 's710547581', 's729740470', 's733349203', 's773031876', 's784230245', 's312380037']
[3064.0, 3060.0, 2940.0, 3064.0, 3064.0, 3064.0, 3060.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0, 18.0, 18.0, 19.0, 17.0, 17.0, 17.0]
[197, 198, 341, 184, 333, 193, 356, 315, 363]
p03075
u765815947
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 x = input()\n L.append(x)\nK = int(input())\nif L[4] - L[0] <= K:\n print('Yay!')\nelse:\n print(':(')", "L = []\nfor i in range(5):\n x = int(input())\n L.append(x)\nK = int(input())\nif L[4] - L[0] <= K:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s235428332', 's029549678']
[2940.0, 2940.0]
[17.0, 17.0]
[127, 132]
p03075
u768559443
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 in range(5)]\nprint("Yay!" if e-a<=k else ":(")', 'a,b,c,d,e,k=[int(input()) for i in range(6)]\nprint("Yay!" if e-a<=k else ":(")']
['Runtime Error', 'Accepted']
['s545278436', 's732413766']
[2940.0, 2940.0]
[18.0, 17.0]
[78, 78]
p03075
u769411997
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 = int(input())\nflag = True\nfor i in range(len(data)-1):\n for j in range(i, len(data)):\n if data[j]-data[i] > k:\n flag = False\n\nif flag:\n print("Yay")\nelse:\n print(":(")', 'data = [int(input()) for i in range(5)]\nk = int(input())\nflag = ...
['Wrong Answer', 'Accepted']
['s787923781', 's727080003']
[3060.0, 3060.0]
[17.0, 17.0]
[237, 238]
p03075
u771007149
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\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nant = [a,b,c,d,e]\nflg = True\nfor i in range(5):\n for j in range(i,5):\n if i != j:\n dist = abs(ant[i]-ant[j])\n if dist > k:\n flg = False\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s658448579', 's837390624', 's624020978']
[3064.0, 3064.0, 3188.0]
[18.0, 17.0, 19.0]
[358, 381, 381]
p03075
u771406607
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, 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\nif e - a <= k:\n print('Yay!')\nelse:\n print(':(')"]
['Runtime Error', 'Accepted']
['s584321626', 's380480903']
[3060.0, 3060.0]
[19.0, 17.0]
[84, 153]
p03075
u773246942
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()\n\nlenge = 0\n\nfor i in range(A):\n for j in range(A):\n if A[i] - A[j] > K:\n s += 1\n \nif s == 0:\n print(":(")\nelse :\n print("Yay!")', 'A = [int(input()) for _ in range(5)]\nK = int(input())\n\nlenge = 0\n\nfor i in range(5):\n for j in range(5...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s278918073', 's939472010', 's974444018', 's813999750']
[3060.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[192, 207, 201, 205]
p03075
u774985302
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!")\nelse:\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 print(":(...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s042463862', 's441985835', 's988285439', 's790620965']
[3060.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 18.0, 17.0]
[149, 152, 123, 151]
p03075
u777394984
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()\ninp=[a,b,c,d,e]\ni=0;\nj=0;\nkek=true\nwhile i<5:\n j=i\n while j<5:\n if inp[j]-inp[i]>k:\n kek=false\n \nprint("Yay!") if kek else print(":(") \n', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(i...
['Runtime Error', 'Runtime Error', 'Accepted']
['s491785797', 's684479443', 's595130574']
[3060.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[216, 238, 153]
p03075
u777923818
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 -*-\nfrom heapq import merge\nfrom bisect import bisect\ndef inpl(): return list(map(int, input().split()))\n\nX, Y, Z, K = inpl()\nA = inpl()\nB = inpl()\nC = sorted(inpl(), reverse=True)\n\nAB = sorted([a+b for a in A for b in B])[-K:]\nans = [-1] * K\n\nfor c in C:\n if ans[0] > AB[-1] * c:\...
['Runtime Error', 'Accepted']
['s073971496', 's816616834']
[3064.0, 3444.0]
[19.0, 26.0]
[421, 334]
p03075
u778700306
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...
['\nxs = [int(input()) for _ in range(5)]\nk = int(input())\n\nok = True\nfor x in xs:\n for y in ys:\n if abs(x-y) > k:\n ok = False\n\nprint("Yay!" if ok else ":(")', '\nxs = [int(input()) for _ in range(5)]\nk = int(input())\n\nok = True\nfor x in xs:\n for y in xs:\n if abs(x-y) > k:\...
['Runtime Error', 'Accepted']
['s946314146', 's131257284']
[2940.0, 2940.0]
[17.0, 17.0]
[175, 175]
p03075
u778814286
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()))\nst = 4 \ns = 'Yay!'\nfor i in range(4): \n for j in range(st):\n print(A[st-i], A[st-1-j], A[5])\n if A[st-i] - A[st-1-j] > A[5]:\n s = ':('\n if s == ':(':\n break\nprint(s)\n", "A = []\nfor i in range(6):\n A.append(int...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s126241226', 's398554110', 's661225378']
[3060.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[257, 297, 227]
p03075
u780962115
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...
['lists=[]\nfor i n range(5):\n nums=int(input())\n lists.append(nums)\ndis=int(input())\nlists=sorted(lists)\nif lists[-1]-lists[0]<=dis:\n print("Yay!")\nelse:\n print(":(")', 'lists=[]\nfor i in range(5):\n nums=int(input())\n lists.append(nums)\ndis=int(input())\nlists=sorted(lists)\nif lists[-1]-lists[0]<=di...
['Runtime Error', 'Accepted']
['s732853058', 's679555326']
[2940.0, 2940.0]
[17.0, 18.0]
[168, 170]
p03075
u782098901
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\nimport sys\n\ninput = sys.stdin.readline\n\nmaxn = 10000000000\n\nX, 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()))\n\nA.append(-maxn)\nB.append(-maxn)\nC.append(-maxn)\n\nA.sort(reverse=True)\nB.sort...
['Runtime Error', 'Accepted']
['s879079310', 's028018649']
[3064.0, 2940.0]
[17.0, 17.0]
[941, 126]
p03075
u789095946
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\nimport sys\n\ndef main():\n n = []\n for i in range(5):\n n.append(int(input()))\n k = int(input())\n for c in itertools.combinations(n, 2):\n if abs(c[0] - c[1]) <= k:\n print(':(')\n sys.exit()\n else:\n print('Yay!')\n\nif __name__ == '__m...
['Wrong Answer', 'Accepted']
['s699978884', 's637463886']
[3316.0, 3060.0]
[19.0, 17.0]
[323, 322]
p03075
u789562878
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(0, 5):\n antena.append(int(input()))\nk = int(input())\nflag = 0\nfor i in range(0, 4):\n for j in range(i+1, 5):\n if antena[j]-antena[i]>k:\n flag = 1\nif flag==0:\n print("Yey!")\nelse:\n print(":(")\n', 'antena=[]\nfor i in range(0, 5):\n antena.append(in...
['Wrong Answer', 'Accepted']
['s776551901', 's530520282']
[2940.0, 2940.0]
[17.0, 17.0]
[247, 247]
p03075
u791527495
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()))\na = li[0]\ne = li[4]\nk = li[5]\n\nif e - a <= k:\n print("Yay!")\nelse:\n print(":(")', 'li = list(map(int,input().split()))\nli[0] = a\nli[4] = e\nli[5] = k\n\nif e - a <= 15:\n print("Yay!")\nelse:\n print(":(")', 'li = list(map(int,input().split()))\na = li[0]\ne =...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s160377335', 's333811239', 's365208659', 's373956974', 's583415633', 's005081341']
[2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 19.0, 17.0, 17.0, 18.0, 17.0]
[121, 122, 120, 120, 121, 157]
p03075
u795323188
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...
["lis = [a,b,c,d,e,k] \nfor i in lis:\n i = input()\nif e-a<=k:\n print('Yay!')\nelse:\n print(':(')", 'lis ', 'lists = [0,0,0,0,0,0]\nfor i in range(len(lists)):\n lists[i] = int(input())\n\nif lists[4]-lists[0]<=lists[5]:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s424656588', 's497118703', 's953935743']
[2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[95, 4, 162]
p03075
u796789068
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)]\na1=a//10\na2=a%10\nif a2==0:\n a1-=1\n a2=10\nb1=b//10\nb2=b%10\nif b2==0:\n b1-=1\n b2=10\nc1=c//10\nc2=c%10\nif c2==0:\n c1-=1\n c2=10\nd1=d//10\nd2=d%10\nif d2==0:\n d1-=1\n d2=10\nn=e//10\nm=e%10\nif m==0:\n n-=1\n m=10\nmin1=min(a2,b2,c2,d...
['Wrong Answer', 'Accepted']
['s455048554', 's385947215']
[3064.0, 2940.0]
[17.0, 17.0]
[432, 126]
p03075
u797016134
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(":(")\n exit()\nif d - a < k:\n print(":(")\n exit()\nif c - a < k:\n print(":(")\n exit()\nif b - a < k:\n print(":(")\n exit()\n\nprint("Yay!")', 'li = [int(input...
['Wrong Answer', 'Accepted']
['s063293537', 's804362096']
[3064.0, 2940.0]
[17.0, 17.0]
[280, 85]
p03075
u799236543
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 = []\nwhile True:\n element = input()\n if element is None:\n break\n\n if element == \'\':\n break\n\n num_list.append(int(element))\n\nlimit = num_list[-1]\n\nans_string = "Yay!"\n\n# print(num_list[i + 1] - num_list[i])\n# if num_list[i + 1] - num_list[i] > limit:\n# ...
['Runtime Error', 'Accepted']
['s458326376', 's846472409']
[3060.0, 2940.0]
[17.0, 17.0]
[530, 503]
p03075
u799528852
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...
['line2 = []\nfor i in range(5):\n line = int(input())\n line2.append(line)\nlong = int(input())\nif line2[4] - line2[0] <= long:\n print("Yey!")\nelse:\n print(": (")', 'line2 = []\nfor i in range(5):\n line = int(input())\n line2.append(line)\nlong = int(input())\nif line2[4] - line2[0] <= long:\n ...
['Wrong Answer', 'Accepted']
['s031254023', 's565704105']
[2940.0, 2940.0]
[18.0, 17.0]
[169, 168]
p03075
u802963389
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 ans = 'Yay!'\nelse:\n ans = ':('", "a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\nif e-a <= k:\n ans = 'Yay!'\nelse:\n ans = ':('...
['Wrong Answer', 'Accepted']
['s683872631', 's922482613']
[2940.0, 3060.0]
[17.0, 17.0]
[148, 159]
p03075
u807889603
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\na_b=abs(a-b)\na_c=abs(a-c)\na_d=abs(a-d)\na_e=abs(a-e)\n\nb_c=abs(b-c)\nb_d=abs(b-d)\nb_e=abs(b-e)\n\nc_d=abs(c-d)\nc_e=abs(c-e)\n\nd_e=abs(d-e)\nprint(k)\nprint(a_e)\n\nif a_e > k:\n print(":(")\nelse:\n print("Ye...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s439410977', 's443606506', 's010291331']
[3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[297, 276, 276]
p03075
u809819902
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())\nprint("Yey!" if e-a<= k else ":(")', 'a = [int(input()) for i in range(5)]\nk = int(input())\nprint("Yay!" if e-a<= k else ":(")', 'a,b,c,d,e = map(int,input().split())\nk = int(input())\nprint("Yay!" if e-a<= k else ":(")', 'a,b,c,d,e,k= int(input()),int(input(...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s207036485', 's285015712', 's984517790', 's732835995']
[9064.0, 9088.0, 9068.0, 9020.0]
[29.0, 21.0, 28.0, 26.0]
[88, 88, 88, 125]
p03075
u810067811
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...
['\nargs = {}\n\nl = ["a", "b", "c", "d", "e", "k"]\nfor i in range(len(l)):\n args[l[i]] = int(input())\n\n\n# 5-4\n# 5-3\n# 5-2\n# 5-1\n\n# 4-3\n# 4-2\n# 4-1\n\n# 3-2\n# 3-1\n\n# 2-1\n\nfor i in range(len(l) - 1):\n j = 5-i\n for m in range(len(l) - 2):\n n = j - (m+1)\n if n <= 0:\n ...
['Runtime Error', 'Accepted']
['s510493017', 's295889730']
[3060.0, 3060.0]
[17.0, 18.0]
[391, 342]
p03075
u811169796
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,k = 0\nfor i in range(6):\n t = int(input())\n if(i == 0):\n a = t\n elif(i == 4):\n b = t\n elif(i == 5):\n k = t\n\nif(b - a > k):\n print(':(')\nelse:\n print('Yay!')\n", "a,b,k = 0\nfor i in range(6):\n t = int(input())\n if(i == 0):\n a = t\n elif(i == 4):\n b = t\n elif(i == 6):\n ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s340596483', 's721363213', 's270658289']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[176, 175, 83]
p03075
u812587837
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())\ncity = []\nfor i in range(5):\n city.append(int(input()))\ngate = min(city)\nprint(4 + math.ceil(N/gate))', "antenna = []\nfor i in range(5):\n antenna.append(int(input()))\nk = int(input())\nif antenna[4] - antenna[0] <= k:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s560642394', 's488615015']
[3060.0, 3060.0]
[17.0, 29.0]
[133, 154]
p03075
u813098295
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(":(")\nelse:\n print("Yey!")\n\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:\...
['Wrong Answer', 'Accepted']
['s709218359', 's667079569']
[2940.0, 2940.0]
[17.0, 17.0]
[156, 156]
p03075
u813170195
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\tprint("Yay")\nelse:\n\tprint(":(")', "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(':(')", "a=int(input())\nb=int(...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s171407595', 's298842371', 's294430619']
[3060.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[133, 133, 136]
p03075
u814265211
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 = list(map(int, [input() for i in range(5)]))\nb = [math.ceil(b / 10) * 10 for b in a]\n\nc1 = b[0] + b[1] + b[2] + b[3] + a[4]\nc2 = b[0] + b[1] + b[2] + a[3] + b[4]\nc3 = b[0] + b[1] + a[2] + b[3] + b[4]\nc4 = b[0] + a[1] + b[2] + b[3] + b[4]\nc5 = a[0] + b[1] + b[2] + b[3] + b[4]\n\nprint(min([c1,...
['Wrong Answer', 'Accepted']
['s798015018', 's465548770']
[3064.0, 2940.0]
[17.0, 17.0]
[325, 113]
p03075
u816252887
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 _ in range(6)]\n\nif e-a > k:\n\tprint(":(")\nelse\n\tprint("Yey!")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nprintln(e - a <= k ? "Yay!" : ":(")\n', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(in...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s115559711', 's248881294', 's287542079', 's349666932', 's395475762', 's467899890', 's617125648', 's778574835', 's965347084', 's955214319']
[2940.0, 2940.0, 2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0]
[17.0, 19.0, 20.0, 18.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0]
[92, 139, 169, 508, 98, 100, 97, 258, 169, 97]
p03075
u816631826
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 combinations\n\nline = input()\nant = [int(n) for n in line.split()]\ncomb = tuple(combinations(ant[:5], 2))\n\nfor i,j in comb:\n if j-i > ant[5]:\n a = -1\n print(":(")\n break\n else:\n pass\nif a != -1:\n print("Yay!")\n\n', 'while True:\n try:\n ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s784844873', 's788043198', 's676910992']
[3060.0, 2940.0, 3060.0]
[18.0, 17.0, 17.0]
[269, 292, 244]
p03075
u818283165
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\nans = 0\nfor i in range(5):\n for j in range(i+1,5):\n print(a[i],a[j])\n if abs(a[i]-a[j]) <= k:\n ans += 1\nif ans == 10:\n print("Yay!")\nelse:\n print(":(")', 'a = [int(input()) for i in range(5)]\nk = int(input())\n\nans ...
['Wrong Answer', 'Accepted']
['s461389471', 's114448101']
[3064.0, 3060.0]
[20.0, 17.0]
[240, 215]
p03075
u821432765
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...
['antenna = [int(input()) for _ in range(N)]\nk = int(input())\n\nprint("Yay!" if max(antenna) - min(antenna) <= k else ":(")', 'antenna = [int(input()) for _ in range(5)]\nk = int(input())\n\nprint("Yay!" if max(antenna) - min(antenna) <= k else ":(")']
['Runtime Error', 'Accepted']
['s124037923', 's006306687']
[2940.0, 2940.0]
[17.0, 17.0]
[120, 120]
p03075
u822044226
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\ni = [int(x) for x in stdin.readlines()]\nj = i[-1]\ni.pop()\n\nif max(i)-min(i) > j:\n print(':(')\nelse:\n print('yay!')", "from sys import stdin\n\ni = [int(x) for x in stdin.readlines()]\nj = i[-1]\ni.pop()\n\nif max(i)-min(i) > j:\n print(':(')\nelse:\n print('Yay!')"]
['Wrong Answer', 'Accepted']
['s230854625', 's772421806']
[2940.0, 2940.0]
[18.0, 18.0]
[139, 139]
p03075
u822662438
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(6):\n li.append(int(input()))\n\nflag = "Yay!"\nfor i in range(len(li)-1):\n if li[i+1] - li[i] > li[5]:\n flag = ":("\n\nreturn flag\n', 'li = []\nfor i in range(6):\n li.append(int(input()))\n\nflag = "Yay!"\nif li[4] - li[0] > li[5]:\n flag = ":("\n\nprint(flag)\n']
['Runtime Error', 'Accepted']
['s629847565', 's851744404']
[2940.0, 2940.0]
[17.0, 17.0]
[162, 125]
p03075
u823044869
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\naList = []\n\nfor i in range(5):\n aList.append(int(input()))\n\nk = int(input())\n\naiList = list(itertools.combinations(aList,2))\n\nfor j in aiList:\n if j[1] - j[0] >k: \n print(":(")\n exit(0)\n\nprint("Yay")\n', 'import itertools\n\naList = []\n\nfor i in range(5):\n aList.append(i...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s241287076', 's386913873', 's730790805']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[227, 227, 228]
p03075
u823640951
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...
['\nn = int(input())\nli = []\nfor i in range(5):\n li.append(int(input()))\nm = min(li)\nif n % m != 0:\n t = n // m\nelse:\n t = n // m - 1\n\nprint(t + 5)\n', '# -*- coding: utf-8 -*-\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif (e - a) ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s605262501', 's979611611', 's128505707']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[154, 185, 185]
p03075
u824365684
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())\nq = int(input())\n \nf = [a,b,c,d,e]\n\n \ng=f[4]-f[3]\nh=f[4]-f[2]\ni=f[4]-f[1]\nj=f[4]-f[0]\nk=f[3]-f[2]\nl=f[3]-f[1]\nm=f[3]-f[0]\nn=f[2]-f[1]\no=f[2]-f[0]\np=f[1]-f[0]\n\n \nif g<q and h<q and i<q and j<q and k<q and l<q and...
['Runtime Error', 'Runtime Error', 'Accepted']
['s332779019', 's554786669', 's964396171']
[3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[367, 408, 296]
p03075
u825378567
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 box[i]=int(input())\nflag=0\nfor i in range(4):\n if (box[i]-box[i+1]) > box[5]:\n flag = 1 \n \tbreak\nif flag==1:\n print(':(')\nelse:\n print('Yay!')\n", "box=[]\nfor i in range(6):\n box.append(int(input()))\nflag=0\nif box[4]-box[0]>box[5]:\n print(':(')\nelse:\n print('Yay!')...
['Runtime Error', 'Accepted']
['s343581424', 's364290762']
[2940.0, 3316.0]
[17.0, 21.0]
[199, 124]
p03075
u831084614
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())\nn = 0\nif e-a > k or e-b > k or d-a > k or e-c > k or d-b > k or c-a > k or e-d > k or d-c > k or c-b > k or b-a > k:\n n = 1\n\nif n = 1:\n print(":(")\nif n = 0:\n print("Yay!")', 'a = int(input())\n...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s226352743', 's289917746', 's946638658', 's395402102']
[2940.0, 2940.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0, 18.0]
[283, 287, 148, 285]
p03075
u834983620
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...
['aaa = [int(input()) for i in range(6)]\n \nans = "Yay!"\n \na = aaa[0]\nfor i in range(1,5):\n if aaa[5] >= a - aaa[i]:\n ans = ":("\n break\nprint(ans)', 'aaa = [int(input()) for i in range(6)]\n \nans = ":("\n \na = aaa[0]\nfor i in range(1,5):\n if aaa[5] <= abs(a - aaa[i]):\n ans = "Yay...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s045936069', 's179764108', 's428644705', 's466681840', 's739398408', 's531912182']
[2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 3064.0]
[18.0, 17.0, 17.0, 17.0, 18.0, 17.0]
[160, 179, 157, 175, 180, 116]
p03075
u835482198
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...
['ds = []\nfor i in range(5):\n ds.append(int(input()))\nk = int(input())\n\ncnt = 0\nfor i in range(5):\n for j in range(i + 1, 5):\n if abs(ds[i] - ds[j]) <= k:\n cnt += 1\nif cnt > 0:\n print(\':(\')\nelse:\n print("Yay!")\n', 'ds = []\nfor i in range(5):\n ds.append(int(input()))\nk...
['Wrong Answer', 'Accepted']
['s945568897', 's036061522']
[2940.0, 3064.0]
[17.0, 17.0]
[239, 238]
p03075
u835629653
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 \nx = min(a, b, c, d, e)\nif x != 1:\n print(5 + n // x)\nelse:\n print(4 + n)', "a = input()\nb = input()\nc = input()\nd = input()\ne = input()\nk = input()\n\nx = min(a, b, c, d, e)\ny = max(a, b, c, ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s309340694', 's328920371', 's410142109']
[3060.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0]
[182, 171, 205]
p03075
u836737505
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)]\nfor i in range(0:4):\n if a[i+1]-a[i]>a[5]:\n print(":(")\nelse:\n print("Yay!")', 'a = [int(input()) for i in range(6)]\nfor i in range(0,5):\n for j in range(0,5):\n if abs(a[i]-a[j]) > a[5]:\n print(":(")\n exit()\nelse:\n print("Yay!")'...
['Runtime Error', 'Accepted']
['s906987516', 's833675293']
[2940.0, 3060.0]
[17.0, 17.0]
[118, 183]
p03075
u837852400
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) = list(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)\n\ndelicious_list = []\nfor a in A[:min((1000,len(A)))]:\n for b in B[:min((1000,len(B)))]:\n ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s017144764', 's256436474', 's673782735', 's895566887']
[3064.0, 3064.0, 3064.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[465, 465, 465, 326]
p03075
u841994910
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...
['input_a = ()\ninput_b = ()\ninput_c = ()\ninput_d = ()\ninput_e = ()\ninput_k = ()\nif (input_a - input_e) < input_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())\nif (e - a) <= k:\n print("Yay!")\nelse:\n print(...
['Runtime Error', 'Accepted']
['s237518615', 's849940067']
[2940.0, 2940.0]
[17.0, 17.0]
[147, 155]
p03075
u842388336
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...
['posi_list = []\nfor _ in range(5):\n posi_list.append(int(input()))\nk = int(input())\n\nflag=True\nfor i in range(5):\n temp_posi_list = posi_list.copy()\n posi = temp_posi_list[i]\n del temp_posi_list[i]\n temp_posi_list = np.array(temp_posi_list)\n max_dist = max(np.abs(temp_posi_list - posi))\n if max_dist...
['Runtime Error', 'Accepted']
['s626784233', 's976893582']
[3064.0, 12408.0]
[17.0, 148.0]
[381, 401]
p03075
u848882989
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\nargs = [int(input()) for i in range(6)]\n\n if (args[4] - arg[0]) > args[5]:\n print(":(")\nprint("Yay!")', 'import sys\n\nargs = [int(input()) for i in range(6)]\n\n if (args[0] - arg[4]) > args[5]:\n print(":(")\n sys.exit()\nprint("Yay!")', 'import sys\n\nargs = [input() for i in ran...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s222546929', 's248571815', 's262348146', 's415648913', 's486691132', 's539926553', 's551043412', 's573893456', 's649570984', 's681992022', 's787648421', 's812052442', 's687232943']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 3064.0, 3060.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0]
[116, 139, 193, 254, 147, 241, 250, 242, 339, 192, 192, 130, 131]
p03075
u849319903
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)]\nk = int(input())\n \nflag = False\nfor i in range(5):\n for j in range(i +1, 5):\n if l[j] - l[i] > k:\n flag = True\n break\n\nif flag:\n print(":(")\nelse:\n print("Yay")', 'l = [int(input()) for _ in range(5)]\nk = int(input())\n \nflag = False\nfor i in range(...
['Wrong Answer', 'Accepted']
['s988475565', 's567997242']
[3316.0, 3060.0]
[36.0, 18.0]
[213, 215]
p03075
u851704997
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("Yey!")\nelse:\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("Yey!")\nelse:\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s747337884', 's768568642', 's207591777']
[9116.0, 9076.0, 9176.0]
[22.0, 29.0, 26.0]
[155, 155, 155]
p03075
u854093727
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())\nans = 0\nfor i in range(5):\n for x in range(i,5):\n if A[x] - A[i] > k:\n ans = ans + 1\nprint(ans)\nif ans > 0:\n print(":(")\nelse:\n print("Yay!")', 'A = [int(input()) for i in range(5)]\nk = int(input())\nans = 0\nfor i in range(5...
['Wrong Answer', 'Accepted']
['s607986441', 's365384443']
[3060.0, 3060.0]
[17.0, 17.0]
[222, 211]
p03075
u856337258
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\na = []\nfor i in range(6):\n a.append(int(input()))\nfor i in range(5):\n for j in range(5):\n if abs(a[i] - a[j]) > a[5]:\n print('Yay!')\n sys.exit()\nprint(':(')", "import sys\na = []\nfor i in range(6):\n a.append(int(input()))\nfor i in range(5):\n for j in range(5):\n if ...
['Wrong Answer', 'Accepted']
['s918546731', 's859732696']
[2940.0, 2940.0]
[17.0, 17.0]
[182, 202]
p03075
u858136677
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("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("Yes")\nelse:\n ...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s110347664', 's471775754', 's779610343', 's153945291']
[3060.0, 3060.0, 3064.0, 3060.0]
[17.0, 17.0, 18.0, 17.0]
[154, 153, 472, 154]
p03075
u859448927
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())\nli = []\nfor i in range(5):\n li.append(n//int(input()))\nli.sort()\nprint(li[4]+5)\n', "li = []\nfor i in range(5):\n li.append(int(input()))\nk = int(input())\nli.sort()\nif li[4]-li[0] <= k:\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s624661308', 's780114570']
[2940.0, 2940.0]
[17.0, 17.0]
[98, 136]
p03075
u861566690
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\nlegth = max(b-a,c-b,d-c,e-d)\n\nif legth > k:\n print(":(")\nelse:\n print("Yay!")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nf = int(input())\nk = int(input())\n\nif e-a > k:\n print(":(")\nelse:\n print("Yay!")\n\...
['Runtime Error', 'Runtime Error', 'Accepted']
['s451324890', 's736480643', 's629979003']
[3060.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[122, 592, 154]
p03075
u863397945
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(map(int,input().split()))\n\nfor i in range(4):\n for j in range(4):\n if l[i]*l[j]>k:\n print(":(")\n break\n else:\n print("Yay!")', 'l = [int(input()) for i in range(4)]\n\nfor i in range(4):\n for j in range(4):\n if l[i]*l[j]>l[4]:\n print(":(")\n break\n else:\n ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s410530702', 's732033634', 's280658462']
[9080.0, 9152.0, 9156.0]
[23.0, 23.0, 24.0]
[155, 160, 113]
p03075
u864273141
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=[]\nN=0\n\nfor i in range(0,X):\n while N<K:\n for j in range(0,Y):\n while N<K:\n for k in range(0,Z):\n while N<K:\n data.append(int(A[i]+B[j]+C[k]))\n N=N+1\n \ndata.sort()\ndata.reverse()\n\nfor l in range(K):\n print(data[l])\n', 'E=str(input())\nif E=="A":...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s336192757', 's526960050', 's860432265']
[2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0]
[271, 116, 171]
p03075
u867320886
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(4):\n e = int(input())\nif e-a <= int(input()):\n print('YaY!')\nelse:\n print(':(')", "a = int(input())\nfor i in range(4):\n e = int(input())\nif e-a <= int(input()):\n print('Yay!')\nelse:\n print(':(')"]
['Wrong Answer', 'Accepted']
['s837994352', 's382155151']
[2940.0, 2940.0]
[17.0, 17.0]
[120, 120]
p03075
u868040597
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/python\n\nimport itertools\n\ndef main():\n anthenas = []\n for _ in range(5):\n anthenas.append(int(input()))\n k = int(input())\n\n for v in itertools.permutations(anthenas, 2):\n d = abs(v[1] - v[0])\n if d <= k:\n msg = ':('\n break\n msg =...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s272567244', 's404612400', 's531975872', 's537291163', 's550546048', 's796430435', 's698805339']
[3060.0, 3060.0, 3060.0, 2940.0, 3060.0, 3064.0, 3060.0]
[17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[369, 356, 369, 185, 352, 416, 368]
p03075
u868237899
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 = []\n\nfor antenna in range(5):\n antennas.append(antenna)\n\nk = int(input())\n \nif ((antennas[4] - antennas[0]) <= k):\n print("Yay!")\nelse:\n print(":(")\n ', 'antennas = []\n\nfor _ in range(5):\n antenna = int(input())\n antennas.append(antenna)\n\nk = int(input())\n \nif ((ante...
['Wrong Answer', 'Accepted']
['s202518147', 's763634935']
[2940.0, 2940.0]
[17.0, 18.0]
[173, 191]
p03075
u868600519
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\nT = list(map(int, (input() for _ in range(5))))\nT2 = [math.ceil(t / 10) * 10 for t in T]\nm = max(t2 - t for t, t2 in zip(T, T2))\nprint(sum(T2) - m)', "A = [int(input()) for _ in range(5)]\nk = int(input())\n\nprint('Yay!' if A[4] - A[0] <= k else ':(')"]
['Wrong Answer', 'Accepted']
['s826273863', 's901228422']
[3060.0, 2940.0]
[17.0, 17.0]
[160, 98]
p03075
u868628468
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(6)]\nX = map(int, A)\na = X[0]\ne = X[4]\nk = X[5]\nif e-a > k:\n print(":(")\nelse:\n print("Yay!")', 'A = [input() for i in range(6)]\na, b, c, d, e, k = A\nB = [a-b, a-c, a-d, a-e,b-c,b-d,b-e,c-d,c-e,d-e]\nfor i in range(10):\n if abs(B[i]) > k:\n print(":(")\n br...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s534351941', 's716292113', 's845352039', 's019224419']
[3060.0, 3060.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[126, 201, 201, 132]
p03075
u872030436
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...
['atoe =[int(input()),int(input()),int(input()),int(input()),int(input())]\nk = int(input())\n\nmaxNum = 5\n_err = 0\nfor i in range(0, maxNum):\n for j in range(i+1, maxNum):\n if abs(atoe[i] - atoe[j]) > k:\n _err = 1\n\nif _err:\n print(":(")\nelse:\n print("Yey!")\n', 'atoe =[int(input())...
['Wrong Answer', 'Accepted']
['s439014045', 's342904214']
[3060.0, 3060.0]
[18.0, 18.0]
[281, 281]
p03075
u872887731
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!")\nelse:\n print(":(")', 'a = [int(input()) for i in range(5)]\nk = int(input())\n\nif (a[-1] - a[0] =< k ):\n print("Yay!")\nelse:\n print(":(")', '#A\na = [int(input()) for i in range(5)]\nk = int(input())\n\ni...
['Runtime Error', 'Runtime Error', 'Accepted']
['s511618527', 's830433871', 's846062947']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[116, 119, 122]
p03075
u875028418
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([int(input()) for _ in range(5)])\nls=sorted([a[i+1]-a[i] for i in range(4)])\nprint("Yay!" if ls[4]<input() else ":(")', 'dish=[int(input()) for i in range(5)]\nremain=[(dish[i]-1)%10 for i in range(5)]\ndivide=[(dish[i]-1)//10+1 for i in range(5)]\na=sorted(remain)[0]\nprint(sum(divide)*10-9+a)\n', 'print(...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s322265318', 's812786659', 's813644752', 's719368301']
[3060.0, 2940.0, 2940.0, 2940.0]
[20.0, 17.0, 18.0, 17.0]
[126, 171, 62, 94]