← Back to List

13655번: Guarda Costeira ↗

Solutions

Python 3
163 B | 163 chars
while True:
    try:
        d, Vf, Vg = map(float,input().split())
    except:
        break

    print("S" if Vf * Vf * (144 + d * d) <= 144 * Vg * Vg else "N")