| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 2048 MB | 440 | 361 | 339 | 83.911% |
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번