| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 2048 MB | 337 | 273 | 253 | 83.224% |
The new amusement park you've opened has a small problem: people are riding your roller coasters without meeting the safety requirements! Instead of hiring more employees to enforce the safety requirements, you decide to augment your coaster control system with a new safety check.
The system you're creating will accept a list of heights in inches and will output "True" if all of the heights are greater than or equal to 48ドル$ inches. If any of the heights are less than 48ドル$ inches, it will output "False".
The first line is $n,ドル an integer between 1ドル$ and 1ドル,000円$ inclusive, defining the number of heights you'll receive.
The next $n$ lines will each contain a single height in inches. Each height will be an integer between 1ドル$ and 1ドル,000円$ inclusive.
If any of the heights are less than 48ドル$ then output "False" without the quotes. Otherwise, output "True" without the quotes.
3 50 60 100
True
4 75 40 80 600
False
School > CS@Mines > CS@Mines HSPC 2021 D번