-->
当前位置:首页 > 题库

PROGRAMMING:Primary screening of patients with H1N1

Luz5年前 (2021-05-10)题库433
###Task description
```
At present, it is the prevalent period of H1N1, in order to better carry out shunt treatment, the hospital requires the examination of the patient's temperature and cough when registering. For the patients whose temperature is more than 37.5 degrees (including equal to 37.5 degrees) and cough, they are initially determined as H1N1 patients (preliminary screening). Now we need to count how many of the patients who come to register for treatment one day are initially screened as patients with A-flow.
```
###Input format:
```
The first line is the number of patients who came to register for treatment on a certain day( n < 200)
Then there are n lines, each line is the patient's information, including three information: name (string, without spaces, up to 30 characters), body temperature (real type), whether cough (integer, 1 means cough, 0 means no cough). The three messages in each line are separated by a space.
```
###Output format:
```
Output the names of all patients screened as a stream in order of input, and each name occupies one line. After that, the output line indicates the number of patients screened for H1N1.
```
###Input example:
```in
five
Zhang 38.3 0
Li 37.5 1
Wang 37.1 1
Zhao 39.0 1
Liu 38.2 1
```
###Output example:
```out
Li
Zhao
Liu
three
```
###Title Source
This topic is selected from openjudge website http://noi.openjudge.cn/ch0112/03/







answer:If there is no answer, please comment