Which quarter?
Very easy
Execution time limit is 0.5 seconds
Runtime memory usage limit is 64 megabytes
It set a point with co-ordinates х and y. Define, in what co-ordinate quarter it is located.
Input
In a unique line through a blank 2 material numbers - co-ordinates of a point are set, value of co-ordinates on the module do not exceed 100.
Output
The singular is the number of a corresponding quarter, or 0 if unequivocally define a quarter it is impossible.
Examples
Input #1
Answer #1
Submissions 52K
Acceptance rate 30%