2185번 - 직사각형의 합집합
https://www.acmicpc.net/board/... 에 언급된 것처럼 직사각형의 대각선이 x1<x2, y1<y2로 주어지지 않는 경우가 있습니다. https://www.acmicpc.net/source...
하지만 원문은 다음과 같이 두 좌표가 각각 직사각형의 왼쪽 아래와 오른쪽 위 좌표를 나타냄을 명시하고 있습니다.
"In each of the subsequent lines, one can find the integer coordinates of the lower left vertex and the upper right vertex of each rectangle."
다음 중 하나가 이루어져야 합니다.
댓글을 작성하려면 로그인해야 합니다.
djm03178 1년 전 2
https://www.acmicpc.net/board/... 에 언급된 것처럼 직사각형의 대각선이 x1<x2, y1<y2로 주어지지 않는 경우가 있습니다. https://www.acmicpc.net/source...
하지만 원문은 다음과 같이 두 좌표가 각각 직사각형의 왼쪽 아래와 오른쪽 위 좌표를 나타냄을 명시하고 있습니다.
"In each of the subsequent lines, one can find the integer coordinates of the lower left vertex and the upper right vertex of each rectangle."
다음 중 하나가 이루어져야 합니다.