ÀÂÒ
Language:

Remote Training on Programming

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

665. Output of elements

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

Output of elements

 

In file A from N elements to define quantity of positive, negative elements and zero. Number N and values of elements of a file are set by input.

 

Input data

Integers are entered through ENTER

 

Output data

Quantity of positive, negative elements and zero are deduced at line through a blank

 

Example input data

6

-7

0

6

4

0

-4

 

Example output data

2 2 2

 

The author

Bogdanova E.A.


View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
668. Number input 665. 648. Perimetr of a triangle 651. Quantity(amount) of in a line 669. Rearrangement of lines in a matrix
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.109 sec.
© Copyright VSTU, AVT, Nosov D.A.