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
u363992934
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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("Yai!")', '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 ...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s106220762', 's201734057', 's550032234', 's298475105']
[3060.0, 3060.0, 2940.0, 3060.0]
[18.0, 17.0, 17.0, 17.0]
[154, 153, 158, 153]
p03075
u364386647
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nflag = -1\npos = [a, b, c, d, e]\nfor i in pos:\n for j in pos:\n if abs(i-j) > k:\n flag = 1\n else:\n pass\n\nif flag:\n print(':(')\nelse:\n print('Yay!')\n ...
['Wrong Answer', 'Accepted']
['s241746296', 's449578365']
[3060.0, 3060.0]
[17.0, 17.0]
[301, 159]
p03075
u366482170
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 ":(")']
['Runtime Error', 'Accepted']
['s984297778', 's256963258']
[2940.0, 2940.0]
[17.0, 17.0]
[78, 79]
p03075
u367130284
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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,*a=map(int,open(0).read().split())\nb=min(a)\nif b<n:\n print(n//b+(n%b>0)-1+5)\nelse:\n print(5)', 'x,y,z,k=map(int,input().split())\na=tuple(map(int,input().split()))\nb=tuple(map(int,input().split()))\nc=tuple(map(int,input().split()))\n \ndef f(p,q):\n return sorted([i+j for j in q for i in p])[::-1][:...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s327833137', 's436442270', 's650368687', 's688908456', 's906919681']
[2940.0, 3064.0, 3060.0, 3060.0, 3060.0]
[17.0, 17.0, 18.0, 19.0, 17.0]
[100, 422, 221, 306, 192]
p03075
u368016155
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(5)]\nk = int(input())\n \nfor i in range(len(antenna)):\n for j in range(len(antenna)):\n if abs(antenna[i]-antenna[j])<=k:\n print("Yay!")\n else:\n print(":(")', 'antenna = [int(input()) for _ in range(5)]\nk = int(input())\n\nfor i in range(len(antenna)):\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s587873004', 's704778697', 's744457548']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[209, 208, 215]
p03075
u368796742
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 a = int(input())\n l.append(a)\nk = int(input())\nfor i in range(4):\n for j in range(i+1,5)\n if l[j] - l[i] > k:\n print(":(")\n exit()\n \nprint("Yay!")', 'l = []\nfor i in range(5):\n a = int(input())\n l.append(a)\nk = int(input())\nfor i in range(4):\n for j in range...
['Runtime Error', 'Accepted']
['s011453995', 's459048233']
[2940.0, 2940.0]
[17.0, 17.0]
[186, 194]
p03075
u369752439
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 \nmax_diff = max([a, b, c, d, e]) - min([a, b, c, d, e])\nans = "Yay!"\nif(max_diff > k):\n ans = ":("\n', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(...
['Wrong Answer', 'Accepted']
['s703134747', 's603604534']
[3060.0, 3064.0]
[17.0, 17.0]
[205, 215]
p03075
u371467115
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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)]\nb=[]\nans=0\nfor j in a:\n while j%10!=0:\n j+=1\n b.append(j)\nfor i in range(5):\n if b[i]-a[i]>ans:\n ans=b[i]-a[i]\n \nprint(sum(b)-ans)', "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!')\nel...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s258681466', 's374930405', 's666048429', 's801498610']
[3060.0, 3064.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[177, 136, 135, 137]
p03075
u374146618
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(6):\n x.append(int(input()))\nif x[5] >= (max(x[:5])-min(x[:5])):\n print("Yay")\nelse:\n print(";(")\n', 'x = []\nfor i in range(6):\n x.append(int(input()))\nprint(x)\nif x[5] >= (max(x[:5])-min(x[:5])):\n print("Yay")\nelse:\n print(";(")', 'x = []\nfor i in range(6):\n ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s332124463', 's466732265', 's775201666', 's415577377']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0]
[128, 136, 135, 128]
p03075
u374802266
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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)]\nif a[4]-a[0]>=a[5]:\n print'Yay!'\n else print ':('", "a=[int(input()) for i in range(6)]\nif a[4]-a[0]>=a[5]:\n print'Yay!'\n else:\n print ':('", "a=[int(input()) for i in range(6)]\nif (a[4]-a[0]>=a[5]):\n print'Yay!'\n else print ':('", "a=[int(input()) for i in range(...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s194380304', 's467303746', 's515156033', 's408822785']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 19.0]
[86, 91, 88, 98]
p03075
u375172966
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
["a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nl = [a,b,c,d,e]\nl2 = sorted(l)\n\nif k > l2[4]-l2[0]:\n print(':(')\nelse:\n print('Yay!')\n", "a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input()...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s475537263', 's500176329', 's792959685']
[3060.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[195, 205, 122]
p03075
u378299699
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['nums=[]\nfor i in range(6):\n nums.append(int(input()))\ns = "Yay!"\nfor i in nums:\n if abs(i - nums[i:]):\n s = ":("\nprint(s)\n\n ', 'for i in range(6):\n nums[i] = int(input())\ns = "Yay!"\nfor i in nums:\n if abs(i - nums[i:]):\n s = ":("\nprint(s)\n\n ', 'nums=[]\nfor i in range(6):\n nums.append(i...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s089143130', 's646859487', 's886676038', 's427850943']
[2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 18.0, 17.0, 17.0]
[130, 119, 139, 237]
p03075
u378782369
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['usrInput = []\nfor n in range(6):\n usrInput.append(int(input()))\n \nfor l in range(5):\n for m in range(5):\n if abs(int(usrInput[l])-int(usrInput[m])) > usrInput[5]:\n flag = True\n \nif flag:\n print(":(")\nelse:\n print("Yay!")', 'usrInput = {}\nfor n in range(6):\n append.usrInput = input()\n\nfor ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s152579744', 's891241586', 's047064633']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 19.0]
[232, 226, 263]
p03075
u381602071
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['max = 0\nmin = 999999999\nfor i in range(5):\n t = int(input())\n if max < t:\n max = t\n if min > t:\n min = t\n\nk = int(input())\n\nprint(max, min, k)\nif max - min < k:\n print("Yay!")\nelse:\n print(":(")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = ...
['Wrong Answer', 'Accepted']
['s905047583', 's029927940']
[3060.0, 3060.0]
[17.0, 17.0]
[223, 157]
p03075
u381713448
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\n\nfor k in range(5):\n num.append(int(input()))\n\nk = int(input())\n\nfor i in range(4,0,-1):\n for j in range(i):\n if (num[i] - num[j]) > k:\n print(":(")\n else:\n print("Yay!")', 'num = []\n\nfor k in range(5):\n num.append(int(input()))\n\nk = int(input())\n\nbool = True\n\nfor i in...
['Wrong Answer', 'Accepted']
['s964530776', 's630416315']
[3060.0, 3060.0]
[17.0, 17.0]
[197, 266]
p03075
u382176416
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
["a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\nk = int(input())\n\ndiff = 0\n\nant_list = []\n\nant_list.append(a)\nant_list.append(b)\nant_list.append(c)\nant_list.append(d)\nant_list.append(e)\n\njudge = True\n\nfor i in range(len(ant_list) - 1):\n\n for j in range(5-...
['Wrong Answer', 'Accepted']
['s788562588', 's705321527']
[3064.0, 3064.0]
[17.0, 17.0]
[506, 487]
p03075
u385244248
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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,open(0).read().split())\nif max(e-a) <= k:\n print("Yay!")\nelse:\n print(":(")', 'a,b,c,d,e,k = map(int,open(0).read().split())\nif max(b-a,c-b,d-c,e-d) <= k:\n print(":(")\nelse:\n print("Yay!")\n', 'a,b,c,d,e,k = map(int,open(0).read().split())\nif e-a <= k:\n print("Yay!")\nel...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s496764055', 's611763709', 's821376610']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[103, 116, 99]
p03075
u386249594
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nimport itertools\n\nx,y,z,k = map(int,(input().split()))\n\na = list(map(int,(input().split())))\nb = list(map(int,(input().split())))\nc = list(map(int,(input().split())))\n\na.sort(reverse=True)\nb.sort(reverse=True)\nc.sort(reverse=True)\n\ncomb_a = [a[0]]\ncomb_b = [b[0]]\ncomb_c = [c[0]]\nnext = []\n...
['Runtime Error', 'Accepted']
['s552567146', 's254804280']
[3188.0, 3060.0]
[19.0, 18.0]
[1182, 173]
p03075
u391277538
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\narray = [a, b, c, d, e]\n\nlast = 10\ntime = 0\n\nfor item in array:\n\tr = item%10\n\tif r != 0:\n\t\ttime += (int(item/10)+1)*10\n\t\tlast = min(last, r)\n\telse:\n\t\ttime += item\n\nprint(time-10+last)', 'a = int(input())\...
['Wrong Answer', 'Accepted']
['s662309976', 's042984703']
[3064.0, 3064.0]
[17.0, 17.0]
[269, 238]
p03075
u391533749
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nk = int(input())\nflag = 0\nfor j in range(4):\n for k in range(4-j):\n if abs(A[j]-A[3-k]) > k:\n flag = 1\n break\n\nif flag==0:\n print("Yay!")\nelse:\n print(":(")', 'A = [0]*5\nfor i in range(5):\n A[i] = int(input()...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s269937454', 's388519354', 's607126540']
[3060.0, 3064.0, 2940.0]
[17.0, 17.0, 18.0]
[247, 251, 125]
p03075
u396495667
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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() for i in range(6)])\nif (e - a) < k:\n print('Yay1')\nelse:\n print(':(')", "a,b,c,d,e,k = map(int, [input() for i in range(6)])\nif (e - a) <= k:\n print('Yay1')\nelse:\n print(':(')", "l =[]\nfor i in range(6):\n a =int(input())\n l.append(a)\nif l[-2] - l[0] > l[-1]:\n print(...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s776794158', 's920151134', 's321134128']
[2940.0, 3064.0, 2940.0]
[17.0, 18.0, 17.0]
[103, 104, 117]
p03075
u399721252
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['a, b, c, d, e = int(input()), int(input()), int(input()), int(input()), int(input())\nif abs(e-a) > int(input()):\n print("Yay!")\nelse:\n print(":(")', 'a, b, c, d, e = int(input()), int(input()), int(input()), int(input()), int(input())\nif abs(e-a) <= int(input()):\n print("Yay!")\nelse:\n print(":(")\n']
['Wrong Answer', 'Accepted']
['s728458564', 's188900664']
[3060.0, 2940.0]
[17.0, 17.0]
[148, 150]
p03075
u402467563
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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!')", "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('Yay!...
['Wrong Answer', 'Accepted']
['s481916077', 's964667102']
[3060.0, 3060.0]
[17.0, 17.0]
[148, 148]
p03075
u403301154
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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()))\n\nd = [e1+e2 for e1 in a for e2 in b]\nd.sort(reverse=True)\nd = d[:k]\n\ne = [e1+e2 for e1 in d for e2 in c]\ne.sort(reverse=True)\n\nfor i in range(k):\n prin...
['Runtime Error', 'Accepted']
['s483741408', 's024193246']
[3064.0, 2940.0]
[17.0, 17.0]
[312, 120]
p03075
u404678206
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(6)]\nif s[4]-s[0]>s[5]:\n print(":(")\nelse:\n print("Yay!")\n ', 'a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif e-a>k:\n print(":(")\nelse:\n print("Yay!")\n']
['Runtime Error', 'Accepted']
['s477280346', 's891463290']
[2940.0, 2940.0]
[17.0, 17.0]
[89, 136]
p03075
u405947212
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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-a=<k and d-a=<k and e-a=<k and c-b=<k and d-b=<k and e-b=<k and d-c=<k and e-c=<k and e-d=<k:\n print('Yay!')\nelse:\n print(':(')\n\n\n ", "a = int(input())\nb = int(input())\nc = int(...
['Runtime Error', 'Accepted']
['s912259611', 's926142051']
[2940.0, 3060.0]
[17.0, 17.0]
[258, 259]
p03075
u407016024
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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-d > k or e-c > k or e-b > k or e-a > a or d-c > k or d-b > k or d-a > k or c-b > k or c-a > k or b-a > k:\n print(':(')\nelse:\n print('Yay!')", "a = int(input())\nb = int(input())\nc = int(input())\...
['Wrong Answer', 'Accepted']
['s138997447', 's863094274']
[3064.0, 2940.0]
[17.0, 17.0]
[252, 155]
p03075
u410118019
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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()\nf=min(a,b,c,d,e)\ng=max(a,b,c,d,e)\nh=g-f\nif h <= 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())\nf=min(a,b,c,d,e)\ng=max(a,b,c,d,e)\nh=g-f\nif h <= k:\n prin...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s481666301', 's877564111', 's115119599']
[3064.0, 3064.0, 3060.0]
[17.0, 17.0, 17.0]
[145, 175, 177]
p03075
u411353821
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\n\n\nk = int(input())\n\ndef diff(x, y, z = k):\n if abs(x - y) > z:\n return 1\n else:\n return 0\n \nnum = 0\n\nnum += diff(a, e)\nnum += diff(a, d)\nnum += diff(a, c)\nnum += diff(a, b) \nnum += diff(b, e)\nnum += dif...
['Wrong Answer', 'Accepted']
['s305940603', 's540570311']
[3064.0, 3064.0]
[18.0, 18.0]
[424, 426]
p03075
u411462361
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\n\ntimes = [A, B, C, D, E]\n\ndef calRest(times):\n\trest = 10\n\tfor time in times:\n\t\tif time % 10 == 0:\n\t\t\tcontinue\n\t\telif time % 10 < rest:\n\t\t\trest = time % 10\n\treturn 10 - rest\n\nsumTime = sum([10 * (int((tim...
['Wrong Answer', 'Accepted']
['s315027498', 's331626635']
[3064.0, 3060.0]
[17.0, 17.0]
[383, 148]
p03075
u411544692
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\n\ndifs = [b-a, c-b, d-c, e-d]\nMdif = Max(difs)\nif Mdif <= k:\n print("Yay!")\nelse:\n print(":(")', '[a, b, c, d, e] = [int(input()) for i in range(5)]\nk = int(input())\n\ndifs = [b-a, c-b, d-c, e-d]\nMdif = Max(difs)\nif Mdif <= k:\n print("...
['Runtime Error', 'Runtime Error', 'Accepted']
['s238687022', 's933114564', 's976849402']
[3060.0, 2940.0, 3316.0]
[18.0, 18.0, 22.0]
[163, 162, 117]
p03075
u412481017
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['r=[]\nfor _ in range(5):\n r.append(int(input()))\n\nk=int(input())\n\ni=0\nwhile i<4:\n j=i+1\n while j<5:\n if abs(r[i]-r[j])>k:\n print("Yay!")\n exit()\n \n j+=1\n i+=1\n \nprint(":(")', 'r=[]\nfor _ in range(5):\n r.append(int(input()))\n\nk=int(input())\n\ni=0\nwhile i<4:\n j=i+1\n wh...
['Wrong Answer', 'Accepted']
['s316103276', 's344964572']
[3060.0, 2940.0]
[17.0, 17.0]
[195, 196]
p03075
u418420470
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 abs(a-b) > k or abs(a-c) > k or abs(a-d) > k or abs(a-e) > k or abs(b-c) > k or abs(b-d) > k or abs(b-e) > k or abs(c-d) > k or abs(c-e) > k orabs(d-e) > k :\n print(':(')\nelse:\n print('Yay!')", "a = int...
['Runtime Error', 'Accepted']
['s344205354', 's809399388']
[3060.0, 3064.0]
[17.0, 17.0]
[298, 298]
p03075
u419501474
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\nlist.append(input())\nlist.append(input())\nlist.append(input())\nlist.append(input())\nlist.append(input())\n\nk = input()\n\nju = "Yay!"\n\nfor i in range(5):\n for j in range(5):\n if i == j:\n pass\n else:\n dis = abs(int(list[i]) - int(list[j]))\n\n if...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s269072906', 's374838666', 's435193063', 's649222101']
[3060.0, 3064.0, 3188.0, 3060.0]
[17.0, 17.0, 20.0, 17.0]
[353, 346, 373, 351]
p03075
u419963262
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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=5,10\nfor i in range(5):\n i=int(input())\n a+=(i-1)//10\n if 0<i%10<b:\n b=i%10\nprint(a*10-(10-b))\n', 'a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nlis=[abs(a-b),abs(a-c),abs(a-d),abs(a-e),abs(b-c),abs(b-d),abs(b-e),abs(c-d),abs(c-e),abs(d-e)]\...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s058761285', 's642425908', 's988376660', 's940496538']
[2940.0, 3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0, 17.0]
[115, 270, 269, 258]
p03075
u425019904
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\nN = int(input())\nfor i in range(5):\n a = int(input())\n A.append(a)\nmin_t = min(A)\n"""\nif N % min_t == 0:\n a = N // min_t\nelse:\n a = N // min_t + 1\n"""\na = math.ceil(N / min_t)\nprint(a + 5)\n', "A = []\nfor i in range(6):\n A.append(int(input()))\nif A[4]-A[0] <= A[5]:...
['Wrong Answer', 'Accepted']
['s046418015', 's657878213']
[3060.0, 2940.0]
[17.0, 17.0]
[221, 115]
p03075
u430223993
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = input().rsplit()\npoints = [int(i) for i in n]\ndist = points[-2] - points[0]\nif dist > points[-1]:\n print(':(')\nelse:\n print('Yay!')", "n = input().rsplit()\npoints = [int(i) for i in n]\ndistances = []\nfor i in range(len(points)-2):\n dist = points[-2] - points[i]\n distances.append(dist)\n\nif m...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s162289576', 's185372054', 's345801216', 's530937875', 's892803973', 's766751285']
[2940.0, 3060.0, 2940.0, 3060.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[141, 227, 115, 102, 103, 103]
p03075
u432453907
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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=[],[]\nt=10\nfor i in range(5):\n x.append(int(input()))\n y.append(x[i]%10)\n if 0<y[i]<t:\n t=y[i]\n if x[i]%10!=0:\n x[i]=((x[i]//10)+1)*10\n y[i]=x[i]\nprint(sum(y)+t-10)', 'x=[]\nfor i in range(5):\n x.append(int(input()))\nk=int(input())\nans="Yay!"\nfor j in range(5):\n f...
['Wrong Answer', 'Accepted']
['s891831174', 's501568189']
[8972.0, 9036.0]
[32.0, 26.0]
[197, 211]
p03075
u433786109
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 python\na = input()\nb = input()\nc = input()\nd = input()\ne = input()\nk = input()\n\nif int(e) - int(a) > k:\n print(":(")\nelse:\n print("Yay!")', '#!/usr/bin/env python\na = input()\nb = input()\nc = input()\nd = input()\ne = input()\nk = input()\n\nif int(e) - int(a) > int(k):\n print(":...
['Runtime Error', 'Accepted']
['s228258581', 's211587493']
[3060.0, 2940.0]
[17.0, 18.0]
[158, 164]
p03075
u434872492
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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))\n', "antennas = []\nfor i in range(5):\n x = int(input())\n antennas.append(x)\n\nk = int(input())\nif antennas[4] - antennas[0] <= k:\n print...
['Wrong Answer', 'Accepted']
['s961455973', 's885841587']
[2940.0, 2940.0]
[18.0, 18.0]
[162, 169]
p03075
u438189153
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(5):\n I=list(int(input()))\nk=int(input())\nif max(I)-min(I)<=k:\n print("Yes")\nelse:\n print("No")\n', 'for i in range(5):\n I=list(map(int,input()))\nk=int(input())\nif I[4]-I[0]<=k:\n print("Yay!")\nelse:\n print(":(")\n', 'or i in range(5):\n I=list(map(int,input().split()))\n...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s100130634', 's205882118', 's760824225', 's664339625']
[9136.0, 9040.0, 8980.0, 9152.0]
[24.0, 22.0, 24.0, 24.0]
[119, 120, 131, 128]
p03075
u440129511
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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:print(':(')\nelse:print('Yay!')", "a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif e-a>k:print(':(')\nelse:print('Yay!')"]
['Runtime Error', 'Accepted']
['s598011185', 's162122837']
[2940.0, 2940.0]
[18.0, 18.0]
[77, 129]
p03075
u440161695
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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)]\nprint("Yay!" if (A[-1]-A[0])>int(input()) else ":(")', 'A=[int(input()) for _ in range(5)]\nprint("Yay!" if (A[-1]-A[0])<=int(input()) else ":(")\n']
['Wrong Answer', 'Accepted']
['s909360693', 's587325593']
[2940.0, 2940.0]
[17.0, 18.0]
[87, 89]
p03075
u440845226
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['t = "Yay!"\nf = ":("\n\nantennas = [input() for _ in range(5)]\nk = input()\n\nif max(antennas) <= k:\n print(t)\nelse:\n flag = True\n for i in antennas:\n for j in antennas:\n if abs(i-j) >= k:\n flag = False\n if flag: print(t)\n else: print(f)\n ', 'import math\ndishes = [int(input()) for _...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s235215378', 's967703125', 's789669620']
[2940.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[257, 269, 308]
p03075
u446711904
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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=list(map(int,open(0).read().split()))\nfor i in range(5):\n for j in range(5):\n if i==j:\n continue\n elif abs(a[i]-a[j])>a[5]:\n print(':(')\n sys.exit()\nelse:\n print('Yey!')", "import sys\na=list(map(int,open(0).read().split()))\nfor i in range(5):\n for j in range(5):\n ...
['Wrong Answer', 'Accepted']
['s297196015', 's693612548']
[3060.0, 3060.0]
[18.0, 17.0]
[205, 205]
p03075
u448655578
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\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:\...
['Runtime Error', 'Accepted']
['s284095771', 's516477938']
[2940.0, 2940.0]
[17.0, 17.0]
[182, 153]
p03075
u448944640
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nls=[a,b,c,d,e]\nfor i in range(len(ls)):\n for j in range(len(ls)-i):\n if ls[i] - ls[j] >= k:\n print(':(')\n break\n else:\n continue\n break\nelse:\n print('Yay!')...
['Wrong Answer', 'Accepted']
['s265571490', 's773001610']
[3064.0, 3064.0]
[17.0, 18.0]
[302, 293]
p03075
u450983668
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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,k=map(int,open(0).read().split())\nprint(e-a<=k ‘Yay!’or ‘:(‘)', "a,*_,e,k=map(int,open(0))\nprint('Y:a(y !'[e-a>k::2])"]
['Runtime Error', 'Accepted']
['s187252939', 's964281932']
[2940.0, 2940.0]
[17.0, 18.0]
[76, 52]
p03075
u453068434
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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)]\nflag=False\nk=int(input())\nfor i in range(len(l)):\n for j in range(i+1,len(l)):\n if(l[j]-l[i]<=k):\n flag=True\n break\n if(flag):\n break\nif(flag):\n print(":(")\nelse:\n print(\'Yay!\')', 'l=[int(input()) for i in range(5)]\nfla...
['Wrong Answer', 'Accepted']
['s398898696', 's871799709']
[3060.0, 3060.0]
[17.0, 18.0]
[260, 305]
p03075
u453623947
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nl = []\nl.append(a)\nl.append(b)\nl.append(c)\nl.append(d)\nl.append(e)\nans = 0\nfor i in range(5):\n for j in range(i+1,5):\n if l[j] - l[i] > k :\n ans += 1\n\nif ans > 0 :\n print(...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s427428167', 's713059504', 's149750997']
[9048.0, 8928.0, 9136.0]
[30.0, 22.0, 29.0]
[329, 329, 330]
p03075
u453634575
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['x = list(map(int, input().split()))\nif x[4] - x[0] < x[-1]:\n print("Yay!")\nelse:\n print(":(")', 'x = list(map(int, input()))\nif x[4] - x[0] < x[-1]:\n print("Yay!")\nelse:\n print(":(")', 'x = [int(input()) for i in range(6)]\nif x[4] - x[0] <= x[-1]: print("Yay!")\nelse: print(":(")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s569477031', 's975446436', 's485145952']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[99, 91, 93]
p03075
u454735747
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 b-a and c-b and d-c and e-d <= k:\n print("Yay!")\nelse:\n print(":(")', "a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif e - a <= k:\n print(':(')\nelse:\n print('Yay!')...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s525460417', 's573770393', 's843721713']
[2940.0, 3060.0, 2940.0]
[18.0, 17.0, 17.0]
[141, 153, 154]
p03075
u456255659
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(""))\nM=max(a,b,c,d,e)\nm=min(a,b,c,d,e)\nsa=M-m\nif sa>=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(""))...
['Wrong Answer', 'Accepted']
['s629285347', 's158176539']
[3064.0, 3064.0]
[17.0, 17.0]
[192, 192]
p03075
u456595418
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\nflag = 0\nfor i in range(6):\n\tl.append(int(input()))\nprint(l)\n\nfor i in range(4):\n\tfor j in range(i+1,5):\n\t\tif not abs(l[i] - l[j]) < l[5]:\n\t\t\tflag = 1\n\t\t\tbreak\n\nif not flag == 1:\n\tprint("Yay!")\nelse:\n\tprint(":(")', 'l = []\nfor i in range(6):\n\tl.append(int(input()))\n\nif abs(l[0] ...
['Wrong Answer', 'Accepted']
['s277237860', 's513590628']
[3060.0, 3064.0]
[20.0, 17.0]
[219, 113]
p03075
u457460736
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['for i in range(6):\n A[i]=int(input())\n \nisOK=True\nfor i in range(5):\n for j in range(5):\n if(abs(A[i]-A[j]) > A[6]):\n isOK=False\n \nif(isOK):\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\nisOK=True\n\...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s207534195', 's580322030', 's864252537', 's528636036']
[9104.0, 9152.0, 9032.0, 9052.0]
[21.0, 25.0, 21.0, 29.0]
[192, 150, 137, 203]
p03075
u459752408
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\ndis=list[a,b,c,d,e,k]\n\nif max(dis)-min(dis)>=K:\n print(":(")\nelse("Yay!") ', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\ndis =[]\ndis.append...
['Runtime Error', 'Accepted']
['s655531843', 's680293032']
[2940.0, 3064.0]
[17.0, 17.0]
[177, 241]
p03075
u460245024
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
["anntena = []\nfor i in range(5):\n anntena.append(int(input()))\nk = int(input())\n\nif (anntena[-1] - anntena[0]) <= k:\n print('Yey!')\nelse:\n print(':(')\n", "anntena = []\nfor i in range(5):\n anntena.append(int(input())\nk = int(input())\n \nif anntena[4] - anntena[0] <= k:\n print('Yey...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s078882862', 's550096769', 's827240179', 's838363484', 's796760139']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[153, 172, 166, 165, 153]
p03075
u462053731
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 e-a > k*4:\n print(":(")\nelif e-b > k*3 or d-a > k*3:\n print(":(")\nelif e-c > k*2 or d-b > k*2 or c-a > k*2:\n print(":(")\nelif e-d > k or d-c > k or c-b > k or b-a > k:\n print(":(")\nelse:\n print("Yay!")', 'a, b, c, d, e = [int(input()) ...
['Runtime Error', 'Accepted']
['s791008834', 's224524121']
[3064.0, 3060.0]
[18.0, 17.0]
[273, 163]
p03075
u465699806
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['"""\npython3 main.py < input.txt\n"""\na=int(input())\n#a=(a//10 if a%10 == 0 else a//10 + 1)*10\nb=int(input())\n#b=(b//10 if b%10 == 0 else b//10 + 1)*10\nc=int(input())\n#b=(b//10 if b%10 == 0 else b//10 + 1)*10\nd=int(input())\ne=int(input())\nk=int(input())\nif e-a <= k:\n print(\'Yey!\')\nelse:\n print(\'...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s012618135', 's237398843', 's613631497']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[304, 177, 178]
p03075
u468972478
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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()))\na.sort()\nj = int(input)\nk = a[4] - a[0]\nif k <= j:\n print("Yay!")\nelse:\n print(":(")', 'a = []\nfor i in range(5):\n a.append(int(input()))\na.sort()\nj = int(input())\nk = a[4] - a[0]\nif k <= j:\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s715290561', 's072862075']
[9160.0, 9176.0]
[23.0, 26.0]
[137, 139]
p03075
u471181540
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = 5\nlst = []\nfor e in range(N):\n lst.append(int(input()))\nk = int(input())\nflag = True\nfor i,a in enumerate(lst):\n if not flag:\n break\n l = lst[i:]\n for b in l:\n if abs(a-b) > k:\n flag = False\n break\nif flag:\n print('yay!')\nelse:\n print(':(')", ...
['Wrong Answer', 'Accepted']
['s235212213', 's529989361']
[3064.0, 2940.0]
[17.0, 18.0]
[298, 144]
p03075
u471797506
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\ntf = any(a[i + 1] - a[i] > k for i in range(4))\nprint("Yay!" if !tf else ":(")', 'a = [int(input()) for i in range(5)]\nk = int(input())\nflag = True\nfor i in range(5):\n for j in range(i + 1, 5):\n flag &= a[j] - a[i] <= k\nprint("Yay!" if flag else...
['Runtime Error', 'Accepted']
['s971542339', 's221278764']
[2940.0, 2940.0]
[17.0, 17.0]
[132, 180]
p03075
u472696272
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['time = [int(input()) for _ in range(5)]\n\nimport math\nans = 0\nminmod = 10\nfor i in range(5):\n if time[i]%10!=0:\n minmod = min(minmod,time[i]%10)\n else:\n minmod = min(minmod,10)\n ans += math.ceil(time[i]/10)*10\n\nans -= (10-minmod)\nprint(ans)\n', "p = [int(input()) for i in range(5)]\nk = int(input...
['Wrong Answer', 'Accepted']
['s967793609', 's035719393']
[3060.0, 2940.0]
[17.0, 17.0]
[249, 103]
p03075
u473092610
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['for i in range(6):\n a[i]=int(input())\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 ":(")']
['Runtime Error', 'Accepted']
['s676033862', 's739355678']
[2940.0, 2940.0]
[17.0, 18.0]
[81, 77]
p03075
u473633103
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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!\n\nx,y,z,k = map(int,input().split())\n\nA = sorted(map(int,input().split()))[::-1]\nB = sorted(map(int,input().split()))[::-1]\nC = sorted(map(int,input().split()))[::-1]\n\nAB = [a+b for a in A for b in B]\nAB.sort(reverse = True)\n\nans = [ab + c for ab in AB[:k] for c in C]\nans...
['Runtime Error', 'Accepted']
['s340756411', 's286214064']
[3064.0, 3060.0]
[20.0, 17.0]
[360, 261]
p03075
u474270503
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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()))\nk=int(input())\nprint("Yay!" if max(a)>=min(a)+k else ":(")', 'a=[]\nfor i in range(5):\n\ta.append(int(input()))\nk=int(input())\nprint("Yay!" if a[4]-a[0]<=k else ":(")']
['Wrong Answer', 'Accepted']
['s825932430', 's531078775']
[2940.0, 2940.0]
[18.0, 17.0]
[106, 102]
p03075
u475503988
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\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\nAB = []\nfor p in itertools.product(A, B):\n AB.append(sum(p))\nAB.sort(reverse=True)\nAB = AB[:K]\n\nl = []\nfor p in itertools.product(AB, C...
['Runtime Error', 'Accepted']
['s243423670', 's106650073']
[3064.0, 2940.0]
[18.0, 18.0]
[383, 117]
p03075
u475675023
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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=[input() for i in range(5)]\nprint("Yay!" if max(x)-min(x)>=k else ":(")', 'x=[int(input()) for i in range(5)]\nk=int(input())\nprint("Yay!" if max(x)-min(x)>=k else ":(")', 'x=[int(input()) for i in range(5)]\nprint("Yay!" if max(x)-min(x)>=k else ":(")', 'x=[int(input()) for i in range(5)]\nk=int(input())\nprint(...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s112659593', 's125010045', 's175931670', 's175529688']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0, 17.0]
[73, 93, 78, 93]
p03075
u475808877
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 j in range(5):\n if List[i]-List[j]>k:\n print("Yay!")\n break\n else:\n print(":(")', 'List=[int(input()) for i in range(5)]\nk=int(input())\nif List[-1]-List[0]>k:\n print("Yay!")\ne...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s181259682', 's595597770', 's509618708']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[203, 115, 115]
p03075
u476674388
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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()) \nCN = 6 \n...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s252689235', 's834057646', 's830539465']
[3064.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0]
[2539, 2856, 798]
p03075
u477320129
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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)]\nprint('Yay!' if a[-2]-a[0]=<a[-1] else ':(') ", "#!/usr/bin/env python3\nimport sys\n\n\ndef solve(a: int, b: int, c: int, d: int, e: int, k: int):\n X = (a, b, c, d, e)\n for i, x in enumerate(X):\n for xx in X[i+1:]:\n if abs(x - xx) > k:\n ...
['Runtime Error', 'Accepted']
['s003191166', 's451451843']
[2940.0, 3064.0]
[18.0, 17.0]
[82, 893]
p03075
u477977638
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nif e-a>k:\n print(":(")\nelse:\n print(\'Yay!\')\n']
['Runtime Error', 'Accepted']
['s446727725', 's086849434']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 136]
p03075
u481026841
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
["f = abs(e - a)\nif k >= f:\n print('Yay!')\nelse:\n print(':(')\n", "a = input()\nb = input()\nc = input()\nd = input()\ne = input()\nk = input()\na < b < c < d < e\n\nf = abs(e - a)\nif k >= f:\n print('Yay!')\nelse:\n print(':(')", "a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\...
['Runtime Error', 'Runtime Error', 'Accepted']
['s450287958', 's981983526', 's677574166']
[2940.0, 3060.0, 3060.0]
[18.0, 17.0, 17.0]
[66, 156, 188]
p03075
u483005329
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 abs(a-b)<k and abs(a-c)<k and abs(a-d)<k and abs(a-e)<k and abs(b-c)<k and abs(b-d)<k and abs(b-e)<k and abs(c-d)<k and abs(c-e)<k and abs(d-e)<k:\n print("Yay!")\nelse\n print(":(")', 'a=int(input())\nb=int(input())\...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s362280010', 's992318850', 's420585079']
[3060.0, 3064.0, 3064.0]
[17.0, 24.0, 17.0]
[274, 245, 259]
p03075
u483737025
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 main():\n alpha=[int(intput()) for _in range(5)]\n k=int(intput())\n for a in alpha:\n for b in alpha:\n if abs(a-b)>k:\n print (':(')\n exit()\n print('Yay!')\n ", "def main():\n alpha=[int(intput()) for_in range(5)]\n k=int(intput(...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s195296541', 's215745921', 's833067975', 's933043777', 's028556170']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 18.0]
[232, 231, 81, 213, 290]
p03075
u492447501
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['\nA = [0, 0, 0, 0, 0]\nA[0] = int(input())\nA[1] = int(input())\nA[2] = int(input())\nA[3] = int(input())\nA[4] = int(input())\nk = int(input())\n\nflg = 0\n\nfor i in range(0, 4, 1):\n if flg == 1:\n break\n\n for j in range(i+1, 5, 1):\n print(A[j] - A[i])\n if k < (A[j] - A[i]):\n ...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s230049585', 's328521437', 's336286589', 's343134738', 's562862287', 's474092363']
[3064.0, 2940.0, 3064.0, 3064.0, 3064.0, 3064.0]
[18.0, 17.0, 18.0, 17.0, 18.0, 17.0]
[418, 321, 417, 419, 417, 360]
p03075
u496744988
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 Counter\nfrom functools import reduce\nimport fractions\nimport math\nimport statistics\nimport sys\nimport time\nsys.setrecursionlimit(10**7)\nINF = 10 ** 18\nMOD = 10 ** 9 + 7\ndef LI(): return [int(x) for x in sys.stdin.readline().split()] # LIST INT\ndef LF(): return [float(x) for x in sy...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s513443120', 's634116824', 's998988250', 's133452814']
[5640.0, 5384.0, 5376.0, 5376.0]
[47.0, 39.0, 41.0, 39.0]
[1347, 1309, 1316, 1316]
p03075
u496821919
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['L = []\nfor i in range(5):\n L.append(int(input()))\nk = int(input())\nif L[4]-L[0] > k:\n print(":(")\nelse:\n print("Yey!")', 'L = []\nfor i in range(5):\n L.append(int(input()))\nk = int(input())\nif L[4]-L[0] > k:\n print(":(")\nelse:\n print("Yay!")']
['Wrong Answer', 'Accepted']
['s518400149', 's125242363']
[2940.0, 2940.0]
[17.0, 17.0]
[127, 127]
p03075
u497883442
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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("...
['Runtime Error', 'Accepted']
['s778884107', 's246519470']
[2940.0, 3060.0]
[17.0, 17.0]
[150, 150]
p03075
u497952650
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\n\nfor i in range(6):\n N.append(int(input()))\n\nans = "Yay!"\nfor i in range(5):\n for j in range(i+1,5):\n dist = abs(N[j] - N[i])\n print(dist)\n if dist > N[5]:\n ans = ":("\n\nprint(ans)', 'N = []\n\nfor i in range(6):\n N.append(int(input()))\n\nans = "Yay!"\nfor...
['Wrong Answer', 'Accepted']
['s220612054', 's068060436']
[3060.0, 2940.0]
[17.0, 17.0]
[224, 219]
p03075
u500897254
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nflag = 0\n\nif((e-d)=<k):\n if((d-c)=<k):\n if((c-b)=<k):\n if((b-a)=<k):\n print("Yay!")\n flag = 1\nif(flag == 1):\n print(":(")\n ', "str1 = input()\nstr2 = input()\n...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s118104281', 's411334155', 's627976755', 's670798133', 's943103033', 's339451671']
[2940.0, 3060.0, 3060.0, 2940.0, 2940.0, 3064.0]
[18.0, 17.0, 18.0, 17.0, 17.0, 17.0]
[263, 218, 135, 194, 24, 275]
p03075
u502389123
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(N)]\nflag = True\n\nfor i in range(N):\n if a[N-1] < a[i]:\n flag = False\n\nif flag:\n print('Yay')\nelse:\n print(':(')", "a = [int(input()) for i in range(N)]\nflag = True\n\nfor i in range(N):\n if a[N-1] < a[i]:\n flag = False\n\nif flag:\n print('Yay!')\nelse:\n prin...
['Runtime Error', 'Runtime Error', 'Accepted']
['s092020259', 's735057814', 's097015517']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[150, 152, 192]
p03075
u503111914
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nif e-a <= int(input()):\n print("Yay!")\nelse:\n print(":(")', 'A = [int(input()) for i in range(5)]\nif A[-1]-A[0] <= int(input()):\n print("Yay!")\nelse:\n print(":(")']
['Runtime Error', 'Accepted']
['s014960019', 's511042602']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 107]
p03075
u505893372
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['I = [int(input()) for _ in range(6)]\n\nI[0] = a\nI[4] = e\nI[5] = k\n\nif e-a > k:\n\tprint(":(")\nelse :\n\tprint("Yay!")', "I = [int(input()) for i in range(6)]\n\nI[0] = a\nI[5] = e\nI[6] = k\n\nif e-a > k:\n\tprint(':(')\nelse :\n\tprint('Yay!')", "a,b,c,d,e,k = [int(input) for i in range(6)]\nprint('Yay!' if e-...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s055113631', 's186313044', 's300291964', 's359419391', 's530737780', 's578747838', 's618091466', 's623916723', 's630685565', 's678230501', 's749220868', 's295229271']
[3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[19.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0]
[112, 112, 80, 112, 78, 78, 96, 112, 94, 111, 113, 78]
p03075
u506086925
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 _ in range(5):\n antena.append(int(input()))\nk = int(input())\npath = []\nfor i in range(1,5):\n p = antena[i]-antena[i-1]\n if p <= k:\n path.append(p)\nif len(path)!=5:\n print(":(")\nelse:\n print("Yay!")', 'antena = []\nfor _ in range(5):\n antena.append(int(input()))\nk...
['Wrong Answer', 'Accepted']
['s520117220', 's891656434']
[3060.0, 2940.0]
[17.0, 17.0]
[235, 148]
p03075
u506587641
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = list[a,b,c,d,e]\ny = sorted(x)\n\nif k >= y[4] -y[0]:\n print('Yay!')\n\nelse:\n print(':(')", "a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(inpu...
['Runtime Error', 'Runtime Error', 'Accepted']
['s252287748', 's417167328', 's047747474']
[3064.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0]
[198, 198, 200]
p03075
u511449169
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 check_num():\n if b-a > k or c-a > k or d-a > k or e-a > k or c-b > k or d-b > k or e-b > k or d-c > k or e-c > k or e-d > k:\n print(":(")\n else:\n print("Yey!")\n\n\na, b, c, d, e, k = [int(input()) for _ in range(6)]\ncheck_num()', 'def check_num():\n if b-a > k or c-a > k or d-a > k or e-a > k or c-...
['Wrong Answer', 'Accepted']
['s066075691', 's185237327']
[3060.0, 3060.0]
[17.0, 18.0]
[237, 237]
p03075
u513516345
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['nums = []\n\nfor i in range(5):\n nums.append(input())\n\nk = input()\n\nfor i in range(5):\n for j in range(5-i)[1:]:\n if nums[j] - nums[i] > k:\n print ":("\n return\n\nprint "Yay!"\nreturn\n ', 'import sys\n\nnums = []\n\nfor i in range(5):\n nums.append(int(input()))\n\nk = int(input())\n\nf...
['Runtime Error', 'Accepted']
['s160653108', 's491972763']
[2940.0, 2940.0]
[17.0, 17.0]
[200, 221]
p03075
u513900925
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['t = [int(input()) for i in range(5)]\nt.sort()\ncount = 0\nmin_list = [t[0]%10,t[1]%10,t[2]%10,t[3]%10,t[4]%10]\nfor i in range(5):\n x = min_list[i]\n if x != 0:\n break\nf =min([t[0]%10,t[1]%10,t[2]%10,t[3]%10,t[4]%10])\nfor i in range(5):\n if t[i]%10 == 0 :\n t[i] = t[i]-1\n count = ...
['Wrong Answer', 'Accepted']
['s826444079', 's105405684']
[3064.0, 3060.0]
[17.0, 17.0]
[544, 127]
p03075
u514459721
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\na = []\nk = 0\nfor i in range(5):\n tmp = int(input())\n a.append([tmp,(tmp-1)%10])\na.sort(reverse=True, key=lambda x:x[1])\nfor i in range(4):\n k += (math.ceil(a[i][0]/10))*10\nk += a[4][0]\nprint(k)', 'success = "Yay!"\na = []\nfor _ in range(5):\n a.append(int(input()))\nk = int(input())...
['Wrong Answer', 'Accepted']
['s026163482', 's920584267']
[3060.0, 2940.0]
[17.0, 17.0]
[214, 206]
p03075
u515364861
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 b=int(input())\n a.append(b)\n print(a)\nc=int(input())\nif a[0] - a[4] <= c:\n print('Yay!')\nelse:\n print(':(')", "a=[]\nfor i in range(4):\n b=int(input())\n a.append(b)\nc=int(input())\nif a[0] - a[4] <= c:\n print('Yay!')\nelse:\n print(':(')", "a=[]\nfor i ...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s092022471', 's327537915', 's751556276', 's249526134']
[2940.0, 3060.0, 2940.0, 3060.0]
[17.0, 18.0, 17.0, 17.0]
[147, 134, 138, 134]
p03075
u516050812
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
['A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input())\n \na = 10 -(A % 10)\nb = 10 -(B % 10)\nc = 10 -(C % 10)\nd = 10 -(D % 10)\ne = 10 -(E % 10)\n \nprint(A+B+C+D+E+a+b+c+d+e-max([a,b,c,d,e]))', 'A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nE = int(input...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s161688363', 's415134535', 's600838726', 's771746230', 's542918394']
[3064.0, 3064.0, 3064.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[217, 222, 226, 226, 137]
p03075
u516554284
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 _ in range(6)]\nprint(':(') if s[4]-s[0]>s[5] else print('Yay!')", "s=[int(input()) for _ in range(6)]\nprint(':(') if s[4]-s[0]>s[5] else print('Yay!')\n"]
['Runtime Error', 'Accepted']
['s309874130', 's325714105']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 84]
p03075
u517447467
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nmin_dis = [abs(A[i] - A[j]) for i in range(5) for j in range(i+1, 5)]\nprint(":(") if min_dis > k else print("Yay!")', 'A = [int(input()) for i in range(5)]\nk = int (input())\nmax_dis = max([abs(A[i] - A[j]) for i in range(5) for j in range(i+1, 5)])\nprint(":...
['Runtime Error', 'Accepted']
['s739085452', 's839842563']
[2940.0, 2940.0]
[17.0, 17.0]
[170, 176]
p03075
u518064858
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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-a<=k and d-a<=k and e-a<=k:\n if c-b<=k and d-b<=k and e-b<=k:\n if d-c<=k and e-c<=k:\n if e-d<=k:\n print("Yey!")\n else:\n print(":()")\n ...
['Wrong Answer', 'Accepted']
['s131821588', 's925065949']
[3064.0, 3064.0]
[17.0, 17.0]
[394, 390]
p03075
u519939795
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k...
["a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\nl=[a,b,c,d,e]\nif max(l)-min(l)>k:\n print(':(')\nelse:\n print('Yay!!')", "a,b,c,d,e,k=[int(input()) for _ in range(6)]\nprint('Yay!' if k>=e-a else ':(')"]
['Wrong Answer', 'Accepted']
['s532439403', 's220353838']
[3060.0, 2940.0]
[17.0, 17.0]
[164, 78]
p03075
u520205434
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nprint(\':(\' if e-a > k else "Yay!")\n', 'a,b,c,d,e,k = [int(input()) for _ in range(6)]\nprint(\':(\' if e-a > k else "Yay!")\n']
['Runtime Error', 'Accepted']
['s564945051', 's735400730']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 82]
p03075
u522949850
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nimport subprocess\nimport re\nimport datetime\nimport os\n\nA = []\nA[0] = int(input())\nA[1] = int(input())\nA[2] = int(input())\nA[3] = int(input())\nA[4] = int(input())\nk = int(input())\n\nS = A.sorted()\n\nV = (S[4] - S[0])\nif V <= k:\n print("Yay!")\nelse:\n print(":(")\n ', 'import sys\ni...
['Runtime Error', 'Accepted']
['s858648380', 's859535152']
[4436.0, 4692.0]
[31.0, 37.0]
[280, 270]
p03075
u523781418
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nant_list=[a,b,c,d,e]\nprint(ant_list)\nant_list.sort()\nif (ant_list[-1]-ant_list[0])<=k:\n print("Yay!")\nelse:\n print(":(")', 'a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(...
['Wrong Answer', 'Accepted']
['s660492355', 's968822221']
[3064.0, 3064.0]
[17.0, 17.0]
[216, 200]
p03075
u525090128
2,000
1,048,576
In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = 6\na = [input() for i in range(N)]\nif (a[4] - a[0])>a[5]:\n print(":(")\nelse:\n print("Yay!")', 'N = 6\na = [int(input()) for i in range(N)]\nif (a[4] - a[0])>a[5]:\n print(":(")\nelse:\n print("Yay!")\n']
['Runtime Error', 'Accepted']
['s002403454', 's889343390']
[2940.0, 2940.0]
[17.0, 18.0]
[100, 106]