[Login|Register]
Problems

Status

Rank

Problem 1424
Aixi的成绩单
Time Limit: 1000ms
Memory Limit: 65536kb
Description

Aixi是一名勤奋学习、红专并进的好学生,据说她的成绩单是这样的:

CourseGrade
Mathematical Analysis B193
Mathematical Analysis B297
Linear Algebra97
Function of Complex Variable100
Mathematical Physics Equations100
Probability and Statistics98
Computational Methods99
Foundation of Electronic Technology I96
Foundation of Electronic Technology II99
Foundation of Electronic Technology III95
Computer Programs Design99
Principles and Interface of Microcomputer100
Mechanics92
Thermotics96
Electromagnetics97
Optics99
Theoretical Mechanics98
Atomic Physics94
Electrodynamics98
Computational Physics96
Quantum Mechanics92
Advanced Quantum Mechanics96
Thermodynamics and Statistical Mechanics99
Solid Physics96
Inorganic Chemistry I100
Inorganic Chemistry II96

队友们想知道:Aixi每个学期挂了多少门课?

Input

多组输入,每组输入格式如下:

第1行:1个正整数n,代表Aixi这个学期修读的课程数;

第2行~第1+n行:每行1个实数,代表Aixi这门课程的成绩。

Output
对于每组输入,输出1个整数,代表Aixi这个学期挂掉的课程数,每组输出占1行
Sample Input
10
100.0
100.
100
100
100
99
98
97
96
95
10
1e2
1000e-1
10E1
100
100
100
100
100
100
100
Sample Output
5
0
Hint

每一门课的成绩都不少于0分,但由于教务系统功能限制,Aixi的成绩最多只有100分。

Aixi修了很多门课,单学期成绩单长达233333字节。

挂科是指成绩低于100分。

Source
liys@USTC-ACM
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 0.9ms with 1 query(s).