练20.4 判断点在第几象限
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
Input integers and representing a point on a plane. Determine which quadrant the point is in and output the corresponding result.
Input Format
Input and values representing a coordinate point. The point will not be on the -axis, -axis, or at the origin. All data are within the range of int.
Output Format
Output the corresponding quadrant, using numbers , , , to represent the four quadrants.
Sample
1 11
20251206 A班作业(9)
- Status
- Done
- Problem
- 5
- Open Since
- 2025-12-6 0:00
- Deadline
- 2025-12-14 23:59
- Extension
- 24 hour(s)