Submission #4844897


Source Code Expand

Copy
import sys
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())
A = [a, b, c, d, e]
if max(A) - min(A) > k:
    print(":(")
    sys.exit(0)
print("Yay!")

Submission Info

Submission Time
Task A - Five Antennas
User showyou41
Language Python3 (3.4.3)
Score 100
Code Size 213 Byte
Status
Exec Time 17 ms
Memory 3064 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 s1.txt, s2.txt
All 100 / 100 in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, in6.txt, in7.txt, s1.txt, s2.txt
Case Name Status Exec Time Memory
in1.txt 17 ms 2940 KB
in2.txt 17 ms 2940 KB
in3.txt 17 ms 3060 KB
in4.txt 17 ms 3064 KB
in5.txt 17 ms 2940 KB
in6.txt 17 ms 3060 KB
in7.txt 17 ms 3060 KB
s1.txt 17 ms 2940 KB
s2.txt 17 ms 2940 KB