Computer Science, asked by shivanigautam20440, 4 days ago

Problem Statement : You are given the top right coordinates (X,Y) of a rectangle with it's bottom left coordinate at (0,0). The rectangle was cut into sub-polygons by making cuts over continuous lines not necessarily rectilinear) of two types: The first type of Nine begin at the left edge of the rectangle follow continuously to the right and end up in the right edge. The second type of line start on lower edge, follow continuously up and end up on the top edge. You will be given two numbers N1, N2 representing the number of the lines of each type: There are Ni lines where each line is described using two integers Y11. Y2 representing a line of the first type. Similarly there are N2 lines where each line is described using two integers X1/X2 representing a line of the second type.​

Answers

Answered by vedrbo50404
0

just a few days and the following me to be

Answered by srinikeshchinta
0

Answer:

You are given the top right coordinates (X,Y) of a rectangle with it's bottom left coordinate at (0,0). The rectangle was cut into sub-polygons by making cuts over continuous lines not necessarily rectilinear) of two types: The first type of Nine begin at the left edge of the rectangle follow continuously to the right and end up in the right edge. The second type of line start on lower edge, follow continuously up and end up on the top edge. You will be given two numbers N1, N2 representing the number of the lines of each type: There are Ni lines where each line is described using two integers Y11. Y2 representing a line of the first type. Similarly there are N2 lines where each line is described using two integers X1/X2 representing a line of the second type.

Explanation:

make peasy easy problem ok??

Similar questions