Adjusting Text Size for Readability
This chart is going on a screen at the front of a room, not onto a page held at reading distance, so Pike Street Studio scales the heading and the axis text well above the defaults. Text sized for a laptop is unreadable from the back row, and a chart nobody can read is a chart nobody uses. The studio also prints the count that the talk is actually about: how many readings cleared the target of 50.
Task: Print how many readings are strictly above 50. A reading of exactly 50 has not cleared the target and does not count.
Input
The first line holds an integer n, the number of readings. Each of the next n lines holds one reading, possibly with decimals. n is at least 1.
Output
One line holding a whole number: how many readings cleared 50.
Example:
Input:
4
30
60
70
20
Output:
2
Sign in to solve this problem
Reading problems is free for everyone — solving them (Run, Submit, and tracking what you've solved) needs an account.
Sign in