Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Counting the Counts

By shojib_mu · Limits 1s, 256 MB

Salam is a school teacher. He takes ICT of class 8th. The head of the school wants to know how many students have got A+ in ICT. After calculating two times, he gets two different results. He becomes confused about the number of students who have got A+ in ICT. As a programmer, can you help him?

Now you have to find out that, how many students have got A+ in ICT?

We will consider A+ if a student get more than or equal to 80 marks.


The first line of the input contains a single integer NN (1N1001 \le N \le 100) denoting the number of student.

The second line contains N space-separated integers  A1A_1, A2A_2, ..., ANA_N (0Ai1000 \le A_i \le 100).


Print a single integer with a new line, the number of students who have got A+ in ICT.


80 89 79 100 55




99% Solution Ratio

emrul_muEarliest, Jul '19

emrul_muFastest, 0.0s

emrul_muLightest, 0 B

AnotherTwinkleShortest, 53B


Login to submit

Toph uses cookies. By continuing you agree to our Cookie Policy.