5472번 - Teleporters
원문에는 다음과 같은 제한이 있습니다.
1 <= N <= 1,000,000 The number of teleporters initially on the segment.
1 <= M <= 1,000,000 The maximum number of new teleporters you can add.
1 <= WX < EX <= 2,000,000 The distances from the beginning of the segment to the western and eastern endpoints of teleporter X.
댓글을 작성하려면 로그인해야 합니다.
kcm1700 3년 전
원문에는 다음과 같은 제한이 있습니다.
1 <= N <= 1,000,000 The number of teleporters initially on the segment.
1 <= M <= 1,000,000 The maximum number of new teleporters you can add.
1 <= WX < EX <= 2,000,000 The distances from the beginning of the segment to the western and eastern endpoints of teleporter X.