← Back to List

27245번: Комната ↗

Solutions

Python 3
148 B | 148 chars
a = int(input())
b = int(input())
c = int(input())

if min(a, b) // c >= 2 and max(a, b) // min(a, b) <= 2:
    print("good")
else:
    print("bad")