백준 21638번: SMS from MCHS #Python

ColorlessDia·2025년 10월 23일

algorithm/baekjoon

목록 보기
704/807
t1, v1 = map(int, input().split())
t2, v2 = map(int, input().split())

if (t2 < 0) and (10 <= v2):
    print('A storm warning for tomorrow! Be careful and stay home if possible!')
elif t2 < t1:
    print('MCHS warns! Low temperature is expected tomorrow.')
elif v1 < v2:
    print('MCHS warns! Strong wind is expected tomorrow.')
else:
    print('No message')

0개의 댓글