АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

634. Amount even element

Time Limit: 1 seconds
Memory Limit:1000KB
Points:2
View Problem Statistics Submit Problem added Undefined

Amount even element

 

Find amount even element, located under main diagonal square целочисленной matrix 5-go order, consisting of integer  numbers and on its side diagonal (not including diagonal elements).

 

 

Input data

 

each element (integer number) of the matrix to carry in separate line

 

Output data

 

integer number with new line

 

Example input data

 

1

2

3

4

5

1

2

3

4

5

1

2

3

4

5

1

2

3

4

5

1

2

3

4

5

 

Example output data

 

2

 

The Author: Smirnova A.M.

 

 

 

 

 

 

 

 


View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
673. Amount element more given 634. 674. Amount numbers in given range 667. Average arithmetic 623. Bracket
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.046 sec.
© Copyright VSTU, AVT, Nosov D.A.