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 | u525227429 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['menu = [int(input()) for _ in range(5)]\n\ncnt = 0\nl = [10]\nfor m in menu:\n cnt += m\n mod = cnt % 10\n if mod != 0:\n cnt += 10 - mod\n l.append(mod)\n\ncnt -= 10 - min(l)\nprint(cnt)', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif e - a... | ['Wrong Answer', 'Accepted'] | ['s351237833', 's580748342'] | [3060.0, 3060.0] | [17.0, 18.0] | [184, 153] |
p03075 | u528388170 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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,B,C= [[int(i) for i in input().split()] for j in range(3)]\nAB = []\nABC = []\nfor i in range(x):\n for j in range(y):\n AB.append(A[i]+B[j])\nAB.sort(reverse = True)\nfor i in range(min(k,len(AB))):\n for j in range(z):\n ABC.append(AB... | ['Runtime Error', 'Accepted'] | ['s127733951', 's404250862'] | [3064.0, 3060.0] | [17.0, 17.0] | [383, 261] |
p03075 | u531220228 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\nfor i in range(5):\n antenna.append(int(input()))\nK = int(input())\n\nd = True\nfor i in range(5):\n if d:\n for j in range(i,5):\n if antenna[j]-antenna[i] > K:\n print(':(')\n d = False\n break\nif d:\n print('Yay!')", '*A, k = map(int, open(0).read().split())\n\nmax_diff = max(... | ['Runtime Error', 'Accepted'] | ['s099024908', 's089356233'] | [2940.0, 2940.0] | [17.0, 17.0] | [241, 127] |
p03075 | u533039576 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(":(")\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'] | ['s445298362', 's942092561'] | [2940.0, 2940.0] | [17.0, 17.0] | [157, 157] |
p03075 | u536177854 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["l=[int(input()) for i in range(6)]\nif l[4]-l[0] <=l[5]:\n print('Yey!')\nelse:\n print(':(')", "l=[int(input()) for i in range(6)]\nif l[4]-l[0] <=l[5]:\n print('Yay!')\nelse:\n print(':(')"] | ['Wrong Answer', 'Accepted'] | ['s957871004', 's238504464'] | [2940.0, 2940.0] | [17.0, 17.0] | [91, 91] |
p03075 | u536242462 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a=input()\nb=input()\nc=input()\nd=input()\ne=input()\nk=input()\nif e-a<k:\n print('Yay!')\n else\n print(':(')\n", "a=input()\nb=input()\nc=input()\nd=input()\ne=input()\nk=input()\nif e-a<=k:\n print('Yay!')\nelse:\n print(':(')\n", "a=input()\nb=input()\nc=input()\nd=input()\ne=input()\nk=input()\nif e-a>k:\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s228540886', 's612331502', 's817276517', 's925800578', 's899412146'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 17.0] | [107, 107, 106, 108, 137] |
p03075 | u539806549 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nlist=[int(input()) for i in range(n)]\np = int(input())\nmax = 0\na = 0\nfor i in range(n):\n for j in range(n):\n a = abs(list[i] - list[j])\n if a > max:\n max = a\n \nif max <= p:\n print('Yey!')\nelse:\n print(':(')", "n = int(input())\nlist=[int(input()) for i in range(n)]\nmax = 0\na =... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s472194343', 's507431838', 's659248494'] | [3064.0, 3060.0, 3064.0] | [17.0, 17.0, 17.0] | [231, 231, 231] |
p03075 | u548308904 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["inp = []\nfor i in range(6):\n inp.append(insert(input()))\nk = inp[4] - inp[0]\nif k > inp[5]:\n print(':(')\nelse:\n print('Yay!')", "inp = []\nfor i in range(6):\n inp.append(int(input()))\nk = inp[4] - inp[0]\nif k > inp[5]:\n print(':(')\nelse:\n print('Yay!')"] | ['Runtime Error', 'Accepted'] | ['s216608970', 's023947382'] | [2940.0, 2940.0] | [17.0, 17.0] | [134, 131] |
p03075 | u551692187 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())) for i in range(5)]\nk = int(input())\nprint('Yay!') if max(X) - min(X) >= k else print(':(')", "antenas = [int(input()) for i in range(5)]\nk = int(input())\nif k == 0:\n print('Yay!')\n exit()\nprint('Yay!') if max(antenas) - min(antenas) <= k else print(':(')"] | ['Runtime Error', 'Accepted'] | ['s247280805', 's129736865'] | [2940.0, 2940.0] | [17.0, 17.0] | [127, 166] |
p03075 | u552290152 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 pri... | ['Wrong Answer', 'Accepted'] | ['s882453674', 's819019387'] | [3060.0, 3060.0] | [18.0, 17.0] | [152, 152] |
p03075 | u554954744 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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)]\nif e-a>=k:\n print('Yay!')\nelse:\n print(':(')", "a,b,c,d,e,k=[int(input()) for _ in range(5)]\nif e-a<=k:\n print('Yay!')\nelse:\n print(':(')", "a,b,c,d,e,k=[int(input()) for _ in range(5)]\nif e-a>=k:\n print('Yay!')\nelse:\n print(':(')", "a,b,c,d,e... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s084266209', 's111111280', 's748361134', 's861176354', 's676599501'] | [2940.0, 2940.0, 3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [95, 95, 95, 79, 95] |
p03075 | u555020136 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\ns=0\nfor i in range(5):\n for k in range(5):\n n=a[k]-a[i]\n if n>k:\n s+=1\nif s!=0:\n print("+(")\nelse:\n print("Yay!")', 'a=[int(input()) for i in range(5)]\nm=int(input())\ns=0\nfor i in range(5):\n for k in range(5):\n ... | ['Wrong Answer', 'Accepted'] | ['s073980106', 's044477760'] | [3060.0, 3060.0] | [17.0, 17.0] | [197, 197] |
p03075 | u556225812 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 math import ceil\nN = int(input())\nlst = []\nmin = 10**15\nfor i in range(5):\n x = int(input())\n lst.append(x)\n if min > x:\n min = x\n loc = i\n\ntime = 4 + ceil(N/min) \nprint(time)', 'a=input(int)\nb=input(int)\nc=input(int)\nd=input(int)\ne=input(int)\nk=input(int)\nif (e-a) < k :\... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s235669902', 's307869125', 's941141425', 's982990580', 's520469505'] | [3060.0, 3060.0, 2940.0, 3060.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 17.0] | [203, 128, 87, 128, 136] |
p03075 | u556849401 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []; t = True\nfor i in range(5):\n l.append(int(input()))\nk = int(input())\nfor i in range(5):\n for j in range(i+1,5):\n if abs(l[j] - l[i]) > k:\n t = False\n break\nif t:\n print('Yay')\nelse:\n print(':(')", "l = []; t = True\nfor i in range(5):\n l.append(int(input()))\nk = int(input())\nf... | ['Wrong Answer', 'Accepted'] | ['s894630387', 's299233233'] | [3060.0, 3060.0] | [17.0, 17.0] | [219, 220] |
p03075 | u558059388 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 min(b-a,c-b,d-c,e-d) > k:\n print(':(')\nelse:\n print('yay!')", "a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nk=int(input())\n\nif e-a > k:\n print(':(')\nelse:\n print('Yay!')"... | ['Wrong Answer', 'Accepted'] | ['s102835581', 's246176493'] | [3064.0, 3060.0] | [25.0, 17.0] | [155, 138] |
p03075 | u560264606 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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()))\n\nresult = 'Yay!'\nfor i, a1 in enumerate(range(len(a) - 1)):\n for j, a2 in enumerate(range(len(a) - 1)):\n if i != j and i - j < a[-1]:\n result = ':('\nprint(result)\n", "import itertools\n\na = []\nfor i in range(6):\n a.append(int(in... | ['Wrong Answer', 'Accepted'] | ['s842074837', 's150521525'] | [3068.0, 3060.0] | [17.0, 17.0] | [237, 219] |
p03075 | u560889512 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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()))\nk=a[-1]\nif a[-2]-a[0]<=k:\n pring('Yay!')\nelse:\n print(':(') ", 'import heapq\nX,Y,Z,K=map(int,input().split())\nA=sorted(list(map(int,input().split())))[::-1]\nB=sorted(list(map(int,input().split())))[::-1]\nC=sorted(list(map(int,input().split())))[::-1]\n\nd... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s194819975', 's336594511', 's653738698', 's677186616', 's717117171', 's886289819', 's453310008'] | [2940.0, 3192.0, 3064.0, 3064.0, 3064.0, 2940.0, 3060.0] | [18.0, 18.0, 18.0, 17.0, 17.0, 18.0, 18.0] | [112, 852, 460, 264, 592, 101, 320] |
p03075 | u561339958 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\nfor i in range(5):\n s.append(int(input()))\nk = int(input())\nif max(s) - min(s) =< k:\n print("Yay!")\nelse:\n print(":(")', 's = []\nfor i in range(5):\n s.append(int(input()))\nk = int(input())\nif max(s) - min(s) > k:\n print(":(")\nelse:\n print("Yay!")'] | ['Runtime Error', 'Accepted'] | ['s713805598', 's886975423'] | [2940.0, 2940.0] | [17.0, 17.0] | [128, 127] |
p03075 | u561358604 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 (max(a,b,c,d,e) - min(a,b,c,d,e,f) <= 15):\n\tprint('Yay!')\nelse:\n\tprint(':(')", "a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n \nif (max(a,b,c,d,e) - min(a,b,c,d,e) <= ... | ['Runtime Error', 'Accepted'] | ['s326822617', 's428408725'] | [3060.0, 3064.0] | [17.0, 17.0] | [152, 180] |
p03075 | u561992253 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(":(")\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("Yay!")\ne... | ['Wrong Answer', 'Accepted'] | ['s740330083', 's859973142'] | [3316.0, 3060.0] | [21.0, 17.0] | [159, 159] |
p03075 | u562033060 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 heapq\nimport itertools\n\ndef dif(l):\n return max(l) - min(l)\n\nx,y,z,k = map(int, input().split())\na = sorted(list(map(int, input().split())), reverse=True)\nb = sorted(list(map(int, input().split())), reverse=True)\nc = sorted(list(map(int, input().split())), reverse=True)\n\nflag = True\nwhile flag:\n ... | ['Runtime Error', 'Accepted'] | ['s000595081', 's836800961'] | [3064.0, 2940.0] | [18.0, 17.0] | [821, 82] |
p03075 | u562400059 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nlist = [a, b, c, d, e]\n\nfor i in list:\n for j in list[1:]:\n if j - i > k:\n print(":(")\n break\n break\n\nelse:\n print("Yay!")\n', 'a = int(input())\nb = int(input(... | ['Wrong Answer', 'Accepted'] | ['s593162334', 's946205486'] | [3060.0, 2940.0] | [17.0, 17.0] | [264, 157] |
p03075 | u562550538 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['x=[int(intput() for _ in range(5))]\nk=int(input())\nmax=max(x)\nmin=min(x)\nif max-min < k:\n print("Yay!")\nelse:\n print(":(")', 'x=[int(intput()) for _ in range(5)]\nk=int(input())\nmax=max(x)\nmin=min(x)\nif max-min < k:\n print("Yay!")\nelse:\n print(":(")', 'an=[int(x) for x in input().split()]\nk=... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s188664104', 's518007237', 's654687983', 's833655903'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [128, 128, 137, 128] |
p03075 | u565204025 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nimport math\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.sort()\na.reverse()\nb.sort()\nb.reverse()\nc.sort()\nc.reverse()\n\ncnum = []\n\ntakadaka = math.ceil(k ** 0.67)\n\nfor i in ra... | ['Runtime Error', 'Accepted'] | ['s127667805', 's711981665'] | [3064.0, 2940.0] | [17.0, 17.0] | [509, 182] |
p03075 | u565711859 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["x = [int(input()) for _ in range(6)]\nprint(':(' if x[-2]-[0] > x[-1] else 'Yay!')", "x = [int(input()) for _ in range(6)]\nprint(':(' if x[-2]-x[0] > x[-1] else 'Yay!')"] | ['Runtime Error', 'Accepted'] | ['s539124173', 's643949217'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 82] |
p03075 | u566574814 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a, b, c, d, e = int(input()),int(input()),int(input()),int(input()),int(input())\nk = int(input())\nprint("Yay!" if e-a<=k else":("))\n', 'a, b, c, d, e = int(input()),int(input()),int(input()),int(input()),int(input())\nk = int(input())\nprint("Yay!"if e-a<=k else":(")\n'] | ['Runtime Error', 'Accepted'] | ['s809918524', 's277917330'] | [2940.0, 2940.0] | [17.0, 17.0] | [132, 130] |
p03075 | u566935164 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["n = []\nfor i in range(5):\n n.append(int(input()))\n\nk = input()\n\nif n[4] - n[0] <= k:\n print('Yay!')\nelse:\n print(':(')\n", "\nn = []\nfor i in range(5):\n n.append(input())\n\nk = input()\n\nif n[4] - n[0] <= k:\n print('Yay!')\nelse:\n print(':(')\n", " a = int(input())\n b = int(inp... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s332620175', 's503918876', 's972948981', 's101371008'] | [2940.0, 2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0, 17.0] | [128, 124, 202, 162] |
p03075 | u567744570 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['s = [int(input()) for i in range(5)]\nk = int(input())\ncount =\t0\n\nfor i in s:\n for j in s:\n if (i-j)**2 > k**2:\n print(":(")\n count+=1\n\t break\n\nif count == 0:\n print("Yay!")\n\n', 's = [int(input()) for i in range(5)]\nk = int(input())\ncount = 0\n\nfor i in s:\n ... | ['Runtime Error', 'Accepted'] | ['s581960372', 's399552754'] | [2940.0, 3060.0] | [17.0, 17.0] | [212, 250] |
p03075 | u571969099 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 invrangr(6):\n a.append(int(input()))\nif a[4]-a[0]>a[5]:\n print(":(")\nelse:\n print("Yay!")', 'a=[]\nfor i in range(6):\n a.append(int(input()))\nif a[4]-a[0]>a[5]:\n print(":(")\nelse:\n print("Yay!")'] | ['Runtime Error', 'Accepted'] | ['s468844387', 's022664910'] | [2940.0, 2940.0] | [17.0, 17.0] | [103, 103] |
p03075 | u576320075 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\n\nans = e - a\nif k >= ans:\n print("Yay")\nelse:\n print(":(")\n', '\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\ndis = e - a\nif k... | ['Wrong Answer', 'Accepted'] | ['s471262033', 's110528787'] | [3060.0, 2940.0] | [17.0, 17.0] | [208, 175] |
p03075 | u576434377 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nAs = [a,b,c,d,e]\nif max(As) - min(As) > k:\n print(":(")\n exit()\n\nprint("Yey!")', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif b ... | ['Wrong Answer', 'Accepted'] | ['s915969594', 's910086630'] | [3060.0, 3060.0] | [18.0, 17.0] | [187, 275] |
p03075 | u581511366 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = [0]*6\nfor i in range(6):\n a[i] = int(input())\n\nif a[4]-a[0]>a[5]:\n print("Yay!")\nelse:\n print(":(")', "a = [0]*5\nfor i in range(5):\n a[i] = input()\nk = input()\nif (max(a)-min(a))>k:\n print(':(')\nelse:\n print('Yay!')", 'a = [0]*6\nfor i in range(6):\n a[i] = int(input())\n\nif a[4]-a[0... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s090053260', 's446180173', 's831099644'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [112, 115, 113] |
p03075 | u582415761 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\na = []\nfor i in range(6):\n a.append(int(input()))\n\nif (a[4] - a[0]) <= a[5]:\n print('Yey!')\nelse:\n print(':(')\n ", "from sys import stdin\n\na = []\nfor i in range(6):\n a.append(int(input()))\n\nif (a[4] - a[0]) <= a[5]:\n print('Yay!')\nelse:\n print(':(')"] | ['Wrong Answer', 'Accepted'] | ['s029965809', 's057597060'] | [2940.0, 2940.0] | [17.0, 17.0] | [147, 142] |
p03075 | u582663624 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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)]\nn=int(input())\na=max(l)\nb=min(l)\nif(n<=a-b):\n print("Yay!")\nelse:\n print(":(")\n', 'l=[int(input()) for i in range(5)]\nn=int(input())\na=max(l)\nb=min(l)\nif(n>=a-b):\n print("Yay!")\nelse:\n print(":(")\n'] | ['Wrong Answer', 'Accepted'] | ['s618462395', 's760834962'] | [2940.0, 2940.0] | [17.0, 17.0] | [116, 116] |
p03075 | u583276018 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\nfor i in range(6):\n s.append(int(input()))\nif(s[4]-s[0]) < k:\n print("Yay!")\nelse:\n print(":(")', 's = []\nfor i in range(6):\n s.append(int(input()))\nif(s[4]-s[0]) <= s[5]:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Accepted'] | ['s535135349', 's204042555'] | [2940.0, 2940.0] | [17.0, 17.0] | [105, 109] |
p03075 | u585498238 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nb = 0\nc = 0\nd = 0\ne = 0\nk = 0\nx = 0\ny = 0\n\nantena = [a, b, c, d, e]\n\n\n\nfor i in range(5):\n\n for j in range(i+1, 5):\n result = antena[j] - antena[i]\n print(result)\n\n if result > k:\n x += 1\n\n\n else:\n y += 1\n \n\n\nif x >= 1 a... | ['Wrong Answer', 'Accepted'] | ['s882190017', 's608561143'] | [3064.0, 3064.0] | [17.0, 17.0] | [361, 413] |
p03075 | u586754007 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\n\nfor i in range(5):\n L.append(int(input()))\nk = int(input())\nL.sort()\nprint(L)\nif L[-1] - L[0] > k:\n print(":(")\n\nelse:\n print("Yay!")\n\n', 'L = []\n\nfor i in range(5):\n L.append(int(input()))\nk = int(input())\nL.sort()\n\nif L[-1] - L[0] > k:\n print(":(")\n\nelse:\n print("Yay!")\n\n'] | ['Wrong Answer', 'Accepted'] | ['s936985948', 's049593714'] | [2940.0, 2940.0] | [17.0, 17.0] | [147, 139] |
p03075 | u587425560 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\n\nf=0\ng=[a%10,b%10,c%10,d%10,e%10]\nsaisyo=10\n\nf+=math.ceil(a/10)*10\nf+=math.ceil(b/10)*10\nf+=math.ceil(c/10)*10\nf+=math.ceil(d/10)*10\nf+=math.ceil(e/10)*10\n\nfor i in g:\n if 0<i<saisyo:\n saisyo=i\n ... | ['Wrong Answer', 'Accepted'] | ['s396445464', 's394486631'] | [3064.0, 3064.0] | [17.0, 18.0] | [320, 180] |
p03075 | u590891496 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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("Yay!")\nelse:\n print(":(")\n', 'a,b,c,d,e,k=[input() for i in range(6)]\nif e-a<=k:\n print("Yay!")\nelse:\n print(":(")\n', 'a,b,c,d,e,k=[int(input()) for i in range(6)]\nif e-a<=k:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s114364770', 's462965537', 's920189278'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [88, 91, 96] |
p03075 | u591584649 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nlist = [a, b, c, d, e]\n\nFlag = "Yay!"\nfor i in range(5):\n for j in range(5):\n if abs(list[i] - list[j]) == 0:\n pass\n elif abs(list[i] - list[j]) > ... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s234101122', 's302183724', 's400370171', 's424619449', 's525724898', 's901716239', 's936252030', 's478101114'] | [3316.0, 3064.0, 3064.0, 3064.0, 2940.0, 3316.0, 3064.0, 3316.0] | [21.0, 17.0, 17.0, 17.0, 17.0, 19.0, 18.0, 19.0] | [360, 281, 348, 301, 145, 414, 348, 277] |
p03075 | u595375942 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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)]\nprint('Yey!' if abs(a-e) <= k else ':(')", "a,b,c,d,e,k=[int(input()) for _ in range(6)]\nprint('Yay!' if abs(a-e) <= k else ':(')"] | ['Wrong Answer', 'Accepted'] | ['s371711706', 's521416963'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 85] |
p03075 | u595893956 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nif abs(a[0]-a[5])>k:\n print(":(")\nelse:\n print("Yay!")', 'a=[int(input()) for i in range(5)]\nk=int(input())\nif abs(a[0]-a[4])>k:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Runtime Error', 'Accepted'] | ['s967820170', 's882575247'] | [2940.0, 2940.0] | [17.0, 17.0] | [106, 107] |
p03075 | u596912804 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nnum = [int(input()) for i in range(5)]\n\nnum.sort()\n\nresult = int((N-1)/num[0])+5\n\nprint(result)\n', 'num = [int(input()) for i in range(5)]\nk = int(input())\nleg = num[4]-num[0]\n\nif (leg<=k):\n print("Yay!")\nelse:\n print(":(")\n'] | ['Wrong Answer', 'Accepted'] | ['s586064307', 's879335229'] | [2940.0, 2940.0] | [17.0, 17.0] | [113, 130] |
p03075 | u597017430 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nA[0] = int(input())\nA[1] = int(input())\nA[2] = int(input())\nA[3] = int(input())\nA[4] = int(input())\nK = int(input())\n\nfor i in range(4):\n for j in range(i+1,5):\n if abs(A[i]-A[j]) > K:\n print(':(')\n exit()\nprint('Yay!')", "A=[0]*5\nA[0] = int(input())\nA[1] = int(input())\nA[2] = int... | ['Runtime Error', 'Accepted'] | ['s713515735', 's878541088'] | [3064.0, 3064.0] | [17.0, 17.0] | [240, 242] |
p03075 | u597047658 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 exit\n\n\na = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nnum_list = [a, b, c, d, e]\nlen_num_list = len(num_list)\n\nfor i in range(len_num_list):\n for j in range(len_num_list):\n if i == j:\n pass\n else:\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s423219979', 's443415951', 's750674955', 's346345619'] | [3064.0, 3064.0, 3064.0, 12420.0] | [17.0, 17.0, 17.0, 152.0] | [455, 455, 455, 285] |
p03075 | u597455618 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['n = [int(input()) for i in range(5)]\nfor i in range(n):\n if n[i] - n[i+1] > 0:\n print("Yay!")\n else:\n print(":(")', 'n = [int(input()) for i in range(6)]\n\nif max(n[0], n[1], n[2], n[3], n[4]) - min(n[0], n[1], n[2], n[3], n[4])> n[5]:\n print("Yay!") \nelse:\n print(":(")\n', 'n = int(input())\na = ... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s068681434', 's586489776', 's793111191', 's091747632'] | [2940.0, 2940.0, 3064.0, 3068.0] | [17.0, 17.0, 17.0, 17.0] | [121, 156, 158, 156] |
p03075 | u600402037 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["A = [int(input()) for _ in range(5)]\nK = int(input())\nprint('Yay' if A[4] - A[0] <= K else ':(')\n", "# coding: utf-8\nimport sys\n\nsr = lambda: sys.stdin.readline().rstrip()\nir = lambda: int(sr())\nlr = lambda: list(map(int, sr().split()))\n\nA = [ir() for _ in range(5)]\nK = ir()\nlength = A[-1] - A[0]\nbl = le... | ['Wrong Answer', 'Accepted'] | ['s388923879', 's581347705'] | [2940.0, 3064.0] | [17.0, 18.0] | [97, 244] |
p03075 | u602715823 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\ta[i]= int(input())\n\nd = a[4] - a[0]\nk = int(input())\n\nans = 'Yay!' if k >= d else ':('\nprint(ans)", "#!/usr/bin/env python3\nimport sys\n\n\ndef solve(a: int, b: int, c: int, d: int, e: int, k: int):\n print('Yay!' if e - a <= k else ':(')\n\n\n\n# Generated by 1.1.7.1 https://github.com... | ['Runtime Error', 'Accepted'] | ['s777765365', 's949604982'] | [2940.0, 9156.0] | [17.0, 29.0] | [116, 773] |
p03075 | u607865971 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\n\nif A[4] - A[0] <= k\n print("Yay!" )\nelse:\n print(":(")\n \n \n', 'A = [int(input()) for _ in range(5)]\nk = int(input())\n\nif A[4] - A[0] <= k:\n print("Yay!" )\nelse:\n print(":(")\n \n \n'] | ['Runtime Error', 'Accepted'] | ['s994288102', 's241764402'] | [2940.0, 2940.0] | [17.0, 17.0] | [139, 140] |
p03075 | u609814378 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nA-B = b-a\nA-C = c-a\nA-D = d-a\nA-E = e-a\nB-C = c-b\nB-D = d-b\nB-E = e-b\nC-D = d-c\nC-E = e-c\nD-E = e-d\n\nif (A-B or A-C or A-D or A-E or B-C or B-E or C-D or C-E or D-E) > k :\n print(":(")\nelse:\n print("Yay!")', 'a,b,c,d,e,k= map(int, input().split())\n\nA-B =... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s044715418', 's133658426', 's169007073', 's343595328', 's433781164', 's528992181', 's647272291', 's709547349', 's833579157', 's909651047', 's982814256', 's716222176'] | [3064.0, 3064.0, 2940.0, 3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 3064.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 18.0] | [251, 298, 103, 257, 306, 257, 257, 306, 249, 280, 94, 157] |
p03075 | u611386050 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nimport sys\n\nL = list(int(input()) for i in range(6))\n\nfor i in range(5):\n for j in range(5):\n if abs(L[i]-L[j]) > L[6]:\n print(":(")\n sys.exit()\n\nprint("Yay!")', '#coding:utf-8\n\nimport sys\n\nL = list(int(input()) for i in range(6))\n\nfor i... | ['Runtime Error', 'Accepted'] | ['s974356350', 's637976586'] | [2940.0, 2940.0] | [17.0, 17.0] | [222, 222] |
p03075 | u611562941 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nans = 0\nif e - a <= k:\n ans = 0\n... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s117267728', 's786620607', 's007560031'] | [3060.0, 3060.0, 3060.0] | [17.0, 17.0, 18.0] | [156, 208, 157] |
p03075 | u613401788 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['import sys\n \n \na = int(sys.stdin.readline().strip())\nb = int(sys.stdin.readline().strip())\nc = int(sys.stdin.readline().strip())\nd = int(sys.stdin.readline().strip())\ne = int(sys.stdin.readline().strip())\nk = int(sys.stdin.readline().strip())\n\nprint(k)\nprint(type(a))\n\nl = [a,b,c,d,e]\nl.sort(reverse=True... | ['Wrong Answer', 'Accepted'] | ['s803990481', 's809453011'] | [3064.0, 3060.0] | [17.0, 17.0] | [405, 373] |
p03075 | u617659131 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['ma = 0\nmi = 123\nfor i in range(5):\n x = int(input())\n if ma < x:\n ma = x\n elif mi > x:\n mi = x\nif ma - mi > int(input()):\n print("Yay!")\nelse:\n print(":(")', 'ma = 0\nmi = 123\nfor i in range(5):\n x = input()\n if ma < x:\n ma = x\n elif mi > x:\n mi = x\nif ma - mi > input():\n print... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s280287189', 's306692218', 's790331930', 's774425179'] | [2940.0, 2940.0, 3060.0, 2940.0] | [17.0, 18.0, 18.0, 17.0] | [166, 156, 181, 182] |
p03075 | u625811641 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\ns = [input() for i in range(5)]\ns = [int(i) for i in s]\ns_min = min(s)\ntime = math.ceil(N/s_min) + 4\nprint(time)', 's = list(map(int,[input() for i in range(5)]))\nk = int(input())\nans = "Yay!"\nfor i in s:\n for j in s:\n if abs(i-j) > k:\n ans = ":("\nprint(a... | ['Wrong Answer', 'Accepted'] | ['s953459104', 's518175372'] | [3060.0, 3060.0] | [17.0, 17.0] | [141, 163] |
p03075 | u627234757 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nneck = int(input())\nfor i in range(4):\n neck = min(neck, int(input()))\nres = math.ceil(N/neck)\nprint(res + 4)\n\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('Yey)\nelse:\n print(':)')", 'im... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s027809540', 's101608118', 's582956975', 's812062369', 's152425577'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0, 17.0, 17.0] | [141, 150, 138, 152, 153] |
p03075 | u633355062 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = list()\nf = 0\nfor i in range(n):\n a[i] = int(input())\nk = int(input())\nfor i in range(n):\n for j in range(n):\n if i == j:\n continue\n if abs(a[i] - a[j]) > k:\n f = 1\nif f == 0:\n print("Yay!")\nelse:\n print(":(")', 'a = int(input())\nb = int(input())\nc = int(input(... | ['Runtime Error', 'Accepted'] | ['s262248904', 's262262414'] | [3064.0, 3060.0] | [17.0, 17.0] | [249, 151] |
p03075 | u633548583 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nif b-a<=k and c-b<=k and d-c<=k and e-d<=k:\n print('Yay!')\nelse:\n print(':(')", "a,b,c,d,e,k=[int(input()) for i in range(6)]\nif abs(e-a)<=k:\n print('Yay!')\nelse:\n print(':(')\n"] | ['Runtime Error', 'Accepted'] | ['s588626809', 's675388022'] | [2940.0, 2940.0] | [17.0, 17.0] | [112, 101] |
p03075 | u639284563 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\ndishes=[int(input()) for i in range(5)]\nall_comb=list(itertools.permutations(dishes))\nt_min=123*50\nfor comb in all_comb:\n t=0\n for i in range(4):\n t=int((t+comb[i]-1)/10)*10+10\n t=t+comb[4]\n if t < t_min:\n t_min=t\nprint(t_min)\n', 'a=[int(input()) for i in range(5)]\nk=int(input(... | ['Wrong Answer', 'Accepted'] | ['s425646446', 's390921010'] | [3060.0, 2940.0] | [18.0, 17.0] | [254, 108] |
p03075 | u643714578 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['1\n2\n4\n8\n9\n15', 'a=[int(input()) for i in range(6)]\nprint("Yay!" if a[4]-a[0]<=a[5] else ":(")'] | ['Wrong Answer', 'Accepted'] | ['s520022328', 's059828729'] | [2940.0, 2940.0] | [17.0, 18.0] | [12, 77] |
p03075 | u647767910 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nlist = [input() for _ in range(6)]\nfor i in range(5):\n for j in range(i+1, 5):\n if list[j] - list[i] > list[5]:\n print(':(')\n sys.exit()\nprint('Yay!')", "import sys\nlist = [int(input()) for _ in range(6)]\nfor i in range(5):\n for j in range(i+1, 5):\n if list[j] - list[i] > list[... | ['Runtime Error', 'Accepted'] | ['s147983202', 's036189925'] | [2940.0, 2940.0] | [18.0, 17.0] | [175, 180] |
p03075 | u648212584 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\tprint(":(")\nelse:\n\tprint("Yay!")', 'a,b,c,d,e,k = map(int,input().split())\n\nif e - a > k:\n\tprint(":(")\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 ... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s433969503', 's597224104', 's797058059', 's026048752'] | [2940.0, 2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0, 19.0] | [88, 90, 150, 151] |
p03075 | u652656291 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nk = int(input())\nif e-a < k:\n print('Yay!')\nelse:\n print(':(')", "a,b,c,d,e,k=[int(input())for _ in range(6)]\nif e-a >= k:\n print('Yay!')\nelse:\n print(':(')\n", "a,b,c,d,e,k = map(int,input().split())\nif abs(e-a) <= k:\n print('Yay!')\nelse:\n print(':(')", "for i ... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s205446820', 's409840978', 's585885734', 's634464141', 's829273819', 's663327845'] | [3060.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0] | [18.0, 17.0, 17.0, 17.0, 18.0, 17.0] | [101, 93, 92, 75, 87, 94] |
p03075 | u655048024 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a,b,c,d,e,k=map(int, input().split())\nA =[a,b,c,d,e]\nA.sort(reverse=True)\nK = []\nfor i in range(len(A)-1):\n for j in range(i+1,len(A)):\n K.append(A[i]-A[j])\nMax = 0\nfor n in range(len(K)):\n Max = max(Max,K[n])\nif (Max <= k):\n print("Yay!")\nelse:\n print(":(")\n ', 'a = int(input())\nb = int(input(... | ['Runtime Error', 'Accepted'] | ['s003794338', 's743902380'] | [3064.0, 3064.0] | [17.0, 17.0] | [268, 330] |
p03075 | u661576386 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nf=int(input())\n\nif e - a <= f:\n print('Yay!')\nelse\n print(':(')", "a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nf=int(input())\n\nif e - a =< f:\n print('Yay!')\nelse\n print(':(')", "a=int(in... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s127427808', 's988244472', 's944638043'] | [2940.0, 2940.0, 3060.0] | [18.0, 17.0, 17.0] | [141, 141, 142] |
p03075 | u661812507 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a=int(input())\nb=int(input())\nc=int(input())\nd=int(input())\ne=int(input())\nx=[a,b,c,d,e]\n\nl10=[int(i) for i in x if i % 10==0]\nres=[]\nfor n in x:\n if n not in l10:\n res.append(n)\n\nif not len(l10)==5:\n min_d=9\n for i in res:\n if int(str(i)[-1])<min_d:\n min_d=int(str(i... | ['Wrong Answer', 'Accepted'] | ['s230675412', 's018350362'] | [3064.0, 3060.0] | [17.0, 17.0] | [686, 141] |
p03075 | u662121130 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a,b,c,d,e,k=int(input()),int(input()),int(input()),int(input()),int(input()),int(input())\nk = inputs.pop(5)\nif inputs[-1] - inputs[0] > k:\n print('Yay!')\nelse:\n print(':(')", "inputs = []\nwhile 1:\n tmp = input()\n if tmp:\n inputs.append(tmp)\n else:\n break\nk = inputs.pop(5)\nif inputs[-1] - input... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s629943951', 's654062835', 's712348126', 's971623589'] | [3060.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [174, 172, 137, 137] |
p03075 | u667694979 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(int(input()) for i in range())\nk=int(input())\n\nif x[-1]-x[0]<=k:\n print("Yay!")\nelse:\n print(":(")', 'x=[(int(input()) for i in range(5)]\nk=int(input())\n\nif x[-1]-x[0]<=k:\n print("Yay!")\nelse:\n print(":(")', 'x=[int(input()) for i in range(5)]\nk=int(input())\n\nif x[-1]-x[0]<=k:\n print("Yay!... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s176809981', 's600641356', 's906993051'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [107, 105, 104] |
p03075 | u668352391 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = [int(input()) for _ in range(5)]\nk = int(input())\n\nflg = True\nfor i in range(len(antena)):\n for j in range(len(antena)):\n if a[i] - a[j] > k:\n flg = False\n break\n \nif flg:\n print('Yay!')\nelse:\n print(':(')\n\n", "antena = [int(input()) for _ in range(5)]\nk = int(input())\n\nf... | ['Runtime Error', 'Accepted'] | ['s292789799', 's014621472'] | [3316.0, 3316.0] | [20.0, 21.0] | [235, 243] |
p03075 | u669240121 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['dish = []\ntime = 0\nfor i in range(5):\n temp = int(input())\n if temp % 10:\n dish.append(temp)\n else:\n time += temp\nif not dish: \n print(time)\nelse:\n left = 10 - min([x % 10 for x in dish])\n for i in range(len(dish)):\n dish[i] = dish[i] + 10 - dish[i] % 10\n time = time + su... | ['Wrong Answer', 'Accepted'] | ['s228607215', 's252452096'] | [3064.0, 2940.0] | [17.0, 17.0] | [332, 155] |
p03075 | u672898046 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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]\nfor i in range(len(l)-1):\n for j in range(1, len(l)):\n if l[i]-l[j] > k:\n print(":(")\n quit()\nprint()', 'a,b,c,d,e,k = [int(input()) for i in range(6)]\n\nif e-a <= k: \n... | ['Wrong Answer', 'Accepted'] | ['s699827206', 's133846819'] | [3060.0, 2940.0] | [17.0, 17.0] | [237, 158] |
p03075 | u677393869 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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()))\nX=A[4]-A[0]\nif X=<A[5]:\n print("Yay!")\nelse:\n print(":(")', 'A=[]\nfor i in range(6):\n A.append(int(input()))\nX=A[4]-A[0]\nif X<=A[5]:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Accepted'] | ['s346937331', 's706298897'] | [2940.0, 2940.0] | [17.0, 17.0] | [108, 108] |
p03075 | u677705680 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['a = []\nfor i in range(5):\n a.append(int(input()))\n\nb = []\nc = []\nfor j in range(5):\n if a[j] % 10 == 0:\n c.append(10)\n b.append(a[j]-10)\n else:\n \n num = a[j] % 10\n c.append(num)\n b.append(a[j] - c[j])\n\nb_sum = sum(b)\nc_min = min(c)\nif c_min ==10:\n ... | ['Wrong Answer', 'Accepted'] | ['s314333161', 's404499527'] | [3064.0, 3060.0] | [17.0, 20.0] | [399, 197] |
p03075 | u680851063 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 [0] * 6]\n#print(l)\nk=l.pop()\n#print(l)\n#print(k)\nfor i in range(5):\n for j in range(5):\n if abs(l[j] - l[i]) > k:\n print(':(')\n break\n break\nelse:\n print('Yay!')", "l = [int(input()) for _ in [0] * 6]\n#print(l)\nk=l.pop()\n##print\nif l[4] ... | ['Wrong Answer', 'Accepted'] | ['s128995915', 's481219159'] | [3060.0, 2940.0] | [17.0, 17.0] | [226, 123] |
p03075 | u681110193 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 L[i]=int(input())\n \nk=int(input())\n\nfor i in range(4):\n if L[i+1]-L[i]>k:\n print(':(')\n break\n \n if i=3:\n print(Yay!)\n ", "for i in range(5):\n L[i]=int(input())\n \nk=int(input())\n\nfor i in range(4):\n if L[i+1]-L[i]>k:\n print(':(')\n break\n \n if i==3:\n... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s515159741', 's820024278', 's581608396'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [154, 155, 239] |
p03075 | u681323954 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 max(a,b,c,d,e) - min(a,b,c,d,e) > 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 max(a,b,c,d,e... | ['Runtime Error', 'Accepted'] | ['s290640903', 's447232734'] | [3188.0, 3064.0] | [18.0, 17.0] | [183, 181] |
p03075 | u681851526 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["a = input()\nb = input()\nc = input()\nd = input()\ne = input()\nk = input()\n\nif(e-a > k):\n print(':(')\nelse:\n print('Yay!')\n", "a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\nif(e-a > k):\n print(':(')\nelse:\n print('Yay!')"] | ['Runtime Error', 'Accepted'] | ['s249577069', 's396954271'] | [2940.0, 3060.0] | [17.0, 17.0] | [126, 155] |
p03075 | u682730715 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\nimport sys\n\nimport heapq\nimport re\nimport bisect\nimport random\nimport math\nimport itertools\nfrom collections import defaultdict, deque\nfrom copy import deepcopy\nfrom decimal import *\n\nmx = 0\nmn = 0xFFFFFFFF\nfor i in range(5):\n a = int(input())\n mx = max(mx, a)\n mn = min(mn, ... | ['Wrong Answer', 'Accepted'] | ['s861666519', 's684274252'] | [7692.0, 7240.0] | [73.0, 56.0] | [418, 365] |
p03075 | u686036872 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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', 'a, b, c, d, e, k = int(input()) for in range(6)\nprint("Yey!" if (e-a)<=k else ":(")', 'a, b, c, d, e, k = [int(input()) for in range(6)]\nprint("Yey!" if (e-a)<=k else ":(")', 'a, b, c, d, e, k = [int(input()) for in range(6)]\nprint("Yey!" if (e-a)<=k else ":("... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s045870801', 's174113087', 's238676328', 's398383137', 's465545009', 's468174886', 's591948962', 's594083788', 's917605161'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3064.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [50, 83, 85, 85, 87, 82, 80, 85, 87] |
p03075 | u691896522 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = []\nfor i in range(5):\n data.append(int(input()))\nk = int(input())\ndata.sort()\nif data[4] - data[0] > k:\n print(":(")\nelse:\n print("Yey!")', 'data = []\nfor i in range(6):\n data.append(int(input()))\nfor i in range(5):\n for j in range(5):\n if abs(data[i] - data[j]) > data[5]:\n ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s597777094', 's739210042', 's036691393'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [153, 202, 153] |
p03075 | u692514846 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["ant = [int(input()) for _ in range(5)]\nk = int(input())\n\nif ant[5] - ant[1] > k:\n print(':(')\nelse:\n print('Yay!')\n\n", "ant = [int(input()) for _ in range(5)]\nk = int(input())\n\nif ant[4] - ant[0] > k:\n print(':(')\nelse:\n print('Yay!')\n"] | ['Runtime Error', 'Accepted'] | ['s472519633', 's054242530'] | [2940.0, 2940.0] | [17.0, 17.0] | [118, 121] |
p03075 | u693391925 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['list1 = [input() for i in range(5)]\nk = int(input())\nlist1 = list(map(int,list1))\nlist2 = []\n\nfor i in range(5):\n for k in range(i+1,5):\n list2.append(list1[k]-list1[i])\n\nif max(list2) <= k:\n print ("Yay!")\nelse:\n print(":(")\n', 'list1 = [input() for i in range(5)]\nnum = int(input())\nli... | ['Wrong Answer', 'Accepted'] | ['s199958755', 's678766522'] | [2940.0, 3064.0] | [17.0, 17.0] | [242, 246] |
p03075 | u693933222 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['an = []\nfor i in range(5):\n an.append(int(input()))\nk=int(input())+1\nif(an[]-an[]<k and an[]-an[]<k and an[]-an[]<k and an[]-an[]<k):\n print("Yay!")\nelse:\n print(":(")', 'an = []\nfor i in range(5):\n an.append(int(input()))\nk=int(input())+1\nif(an[4]-an[0]<k):\n print("Yay!")\nelse:\n print... | ['Runtime Error', 'Accepted'] | ['s593791106', 's653697136'] | [2940.0, 2940.0] | [17.0, 17.0] | [176, 130] |
p03075 | u694402282 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nab = b-a\nac = c-a\nad = d-a\nae = e-a\nbc = c-b\nbd = d-b\nbe = e-b\ncd = d-c\nce = e-c\nde = e-d\nif ab <=\tk and ac <= k and ad <= k\tand ae <= k and bc <= k and bd <= k and be <= k and cd <= k and ce <= k a... | ['Runtime Error', 'Accepted'] | ['s630757584', 's406946530'] | [3064.0, 3064.0] | [17.0, 17.0] | [353, 351] |
p03075 | u695644361 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['n=[]\nfor _ in range(6):n+=[int(input())]\nprint(["Yey",":("][n[4]-n[0]>n[5]])', 'n=[]\nfor _ in range(6): n+=[int(input())]\nprint([":(","Yey"][n[4]-n[0]<=n[5]])', 'n=[]\nfor _ in range(6):n+=[int(input())]\nprint(["Yey!",":("][n[4]-n[0]>n[5]])', 'n=[]\nfor _ in range(6):n+=[int(input())]\nprint(":("if n[4]-n[0]>n[5... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s401374782', 's642273913', 's761989385', 's784777487', 's858063549', 's232271721'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 9164.0] | [17.0, 18.0, 19.0, 17.0, 18.0, 25.0] | [76, 78, 77, 81, 79, 148] |
p03075 | u696444274 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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\n\nif abs(a-b) > k or abs(b-c) > k or abs(c-d) > k or abs(d-e) > k or abs(a-d) > k\nor abs(a-c) > k or abs(a-e) > k or abs(b-d) > k or abs(b-e) > k or abs(c-e) > k:\n print(":(")\nelse:\n print("Yay!")\n... | ['Runtime Error', 'Accepted'] | ['s370018547', 's385888593'] | [2940.0, 3064.0] | [17.0, 17.0] | [305, 308] |
p03075 | u698437687 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ["x=[int(input()) for _ in range(6)]\nf=True\nfor i in range(5):\n for k in range(i+1, 5):\n if x[k]-x[i]<x[5]:\n f=False\n break\nprint('Yay!' if f else ':(')", "x=[int(input()) for _ in range(6)]\nf=True\nfor i in range(5):\n for k in range(i,5):\n if x[k]-x[i]>x[5]:\n ... | ['Wrong Answer', 'Accepted'] | ['s772253710', 's967704839'] | [2940.0, 2940.0] | [17.0, 17.0] | [182, 179] |
p03075 | u698624877 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = [input() for i in range(6)]\n\nif nums[4] - nums[0] > nums[5]:\n print ':('\nprint 'Yay!'", "nums = [input() for i in range(6)]\n\nif nums[4] - nums[0] > nums[5]:\n return ':('\nreturn 'Yay!'", "nums = [input() for i in range(6)]\n\nif nums[4] - nums[0] > nums[5]:\n print(':(')\nprint('Yay!')\n", "nums = [i... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s417927878', 's646759319', 's895573108', 's728319293'] | [3064.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0] | [93, 95, 96, 109] |
p03075 | u698837729 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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=[int(input()) for i in range(5)]\nk = int(input())\nmin_num, max_num = min(num_list),max(num_list)\nprint([":(","Yay!"][max_num - min_num >= k])', 'num_list=[int(input()) for i in range(5)]\nk = int(input())\nmin_num, max_num = min(num_list),max(num_list)\nprint([":(","Yay!"][max_num - min_num <= k])'] | ['Wrong Answer', 'Accepted'] | ['s652611148', 's526109271'] | [2940.0, 2940.0] | [17.0, 17.0] | [150, 150] |
p03075 | u698919163 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 i in range(5)]\nk = int(input())\n\nif max(antenna) - min(antenna) =< k:\n print('Yay!')\nelse:\n print(':(')", 'antn = [0]*5\nfor i in range(5):\n antn[i] = int(input())\nk = int(input())\n\nif max(antn) - min (antn) > k:\n print(":(")\nelse:\n print("Yay!")'] | ['Runtime Error', 'Accepted'] | ['s860292487', 's351981377'] | [2940.0, 2940.0] | [17.0, 17.0] | [137, 147] |
p03075 | u698988260 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['distances = [int(input()) in _ for range(5)]\nK = int(input())\n\nif distances[-1] - distances[0] > K:\n print(":(")\nelse:\n print("Yay!")\n ', 'distances = [int(input()) for _ in range(5)]\nK = int(input())\n \nif distances[-1] - distances[0] > K:\n print(":(")\nelse:\n print("Yay!")'] | ['Runtime Error', 'Accepted'] | ['s530374128', 's177143460'] | [2940.0, 2940.0] | [17.0, 17.0] | [138, 136] |
p03075 | u700805562 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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)]\nfor i in range(4):\n for j in range(i+1, 5):\n if abs(i-j) > k:\n print(":(")\n exit()\nprint("Yay!")', 'a = [int(input()) for _ in range(6)]\nfor i in range(4):\n for j in range(i+1, 5):\n if abs(a[i]-a[j]) > a[5]:\n print(":(... | ['Runtime Error', 'Accepted'] | ['s036729747', 's000909361'] | [2940.0, 2940.0] | [17.0, 17.0] | [165, 174] |
p03075 | u700929101 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(":(")\n', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\ne = int(input())\nk = int(input())\n\ni = e-a\n\nif i <= k:\n print("Y... | ['Runtime Error', 'Accepted'] | ['s403554606', 's507778222'] | [2940.0, 2940.0] | [17.0, 17.0] | [158, 163] |
p03075 | u702582248 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nif a[-1] - a[0] <= b:\n print("Yay!")\n else:\n print(":(")', 'a=[int(input) for i in range(5)]\nb=int(input())\nif a[-1] - a[0] <= b:\n print("Yay!")\n else:\n print(":(")', 'a=[int(input()) for i in range(5)]\nb=int(input())\nif a[-1] - a[0] <= b:\n print("... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s927078883', 's954372206', 's436505349'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [108, 106, 111] |
p03075 | u703130195 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. Two antennas can communicate directly if the distance between them is k or less, and they cannot if the distance is greater than k... | ['coo = list()\nfor i in range(6):\n coo.append(int(input()))\nif coo[4] - coo[0] > coo[5]:\n print(":(")\nelse:\n print("Yey!")\n ', 'coo = list()\nfor i in range(6):\n coo.append(int(input()))\nif coo[4] - coo[0] > coo[5]:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Wrong Answer', 'Accepted'] | ['s077311179', 's155541659'] | [3060.0, 2940.0] | [19.0, 17.0] | [134, 130] |
p03075 | u706414019 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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(6)]\nprint('Yey!' if e-a <k else ':(')", "a,b,c,d,e,k = [int(input()) for i in range(6)]\nprint('Yey!' if e-a <=k else ':(')\n", "a,b,c,d,e,k = [int(input()) for i in range(6)]\nprint('Yay!' if e-a <=k else ':(')\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s225975369', 's821754591', 's113792395'] | [9144.0, 9016.0, 9152.0] | [29.0, 26.0, 26.0] | [80, 82, 82] |
p03075 | u711295009 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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())\nlistA = list(map(int, input().split()))\nlistB = list(map(int, input().split()))\nlistC = list(map(int, input().split()))\n\nsumAB =[]\nindex=0\nwhile index < len(listA):\n index2=0\n while index2 < len(listB):\n sumAB.append(listA[index]+listB[index2])\n in... | ['Runtime Error', 'Accepted'] | ['s341350408', 's761606504'] | [3064.0, 3064.0] | [18.0, 17.0] | [736, 242] |
p03075 | u712082626 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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()) for i in range(5)]\nprint(n//min(a)+4 if min(a) == 1 else n//min(a)+5)\n', 'n = int(input())\na = [int(input()) for i in range(5)]\nprint((n//min(a))+4)\n', 'a, b, c, d, e, k = [int(input()) for i in range(6)]\nif e - a <= k:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s295001382', 's857094336', 's289568857'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [105, 75, 106] |
p03075 | u712397093 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 = [0]*6\nfor i in range(6):\n X[i] = int(input())\nprint(X)\n\nfor a in X:\n for b in X:\n if abs(a - b) > X[-1]:\n print(":(")\n quit()\n\nprint("Yay!")', 'X = [0]*6\nfor i in range(6):\n X[i] = int(input())\nprint(X)\n\nfor a in X:\n for b in X:\n if abs(a - b) > 15... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s118189441', 's608885639', 's296945816'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [179, 176, 170] |
p03075 | u712953122 | 2,000 | 1,048,576 | In AtCoder city, there are five antennas standing in a straight line. They are called Antenna A, B, C, D and E from west to east, and their coordinates are a, b, c, d and e, respectively. 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 - Five Dishes\n\nn = []\nfor _ in range(5):\n n.append(int(input()))\n\nmini = 10\nfor y, x in enumerate(n):\n rest = x % 10 \n if rest != 0:\n if rest < mini:\n mini = rest\n mini_num = y \n \ntime = n.pop(mini_num)\nfor x in n:\n if x % 10 != 0:\n item ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s322343932', 's680318820', 's521883392'] | [3064.0, 3060.0, 3060.0] | [17.0, 18.0, 17.0] | [402, 238, 248] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.