Too Short
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
Task
Children are only allowed on a fairground ride if they are at least 1.2m tall.
Write a program that counts how many children are allowed on the ride.
Input format
An integer, n, on the first row indicates how many children were in the queue. This is followed by n rows of decimal numbers which represent the height of each child in the queue.
Output format
An integer.
Example
4
1.41
1.20
1.19
1.21
3
Constraints
All children who are tall enough go on the ride.