시간 제한메모리 제한제출정답맞힌 사람정답 비율
5 초 1024 MB324430.769%

문제

두 명이 같이 하는 인터넷 슈팅 게임이 있다. 이 게임은 폐허가 된 도시에서 빌딩들을 부수는 게임이다. 게임에서 바닥인 수평선 위에 $N$개의 빌딩이 왼쪽에서 오른쪽으로 서 있다. 빌딩은 왼쪽에서 오른쪽으로 순서대로 1부터 $N$의 정수로 나타낸다. 각 빌딩의 바닥으로부터의 높이는 수열 $A_i$ $(1 \le i \le N)$로 나타내고, $1$부터 $N$까지의 서로 다른 정수로 주어진다. 

두 명의 플레이어는 모든 빌딩보다 왼쪽의 같은 위치에 있다. 시간 $i$($\ge 1$)에 두 명의 플레이어는 동시에 각 한발씩 총을 발사하고, 총알은 발사한 위치에서 수평으로 오른쪽으로 날아간다. 두 총알의 속도는 동일하다. 플레이어는 총알의 발사 높이를 바닥으로부터의 거리 $H$로 결정한다. $H$는 $1$이상 $N+1$이하의 정수이다. 두 플레이어는 동일한 발사 높이를 선택할 수 있다. 

플레이어의 총알 발사 높이가 $H$인 경우, $A_i \ge H$를 만족하는 파괴되지 않은 가장 왼쪽의 빌딩이 이 총알로 파괴된다. 이 조건을 만족하는 빌딩이 없다면, 아무 일도 일어나지 않는다. 만약 두 플레이어가 발사한 총알에 대해 이 조건을 만족하는 빌딩이 동일하다면, (두 총알의 속도는 동일하기 때문에) 이 하나의 빌딩만 파괴된다. 특별히, 두 플레이어의 발사 높이가 같다면, 항상 하나의 빌딩만 파괴된다. 예를 들어, $A_1 = 2, A_2 = 1$이고, 처음에 두 플레이어가 모두 $H = 1$을 발사 높이로 결정하였다면, 이 두 총알로 빌딩 $1$만 파괴된다. 

문제는 $N$개 빌딩들의 높이가 입력으로 주어질 때, 모든 빌딩을 파괴할 수 있는 최소 시간과 각 시간에 두 플레이어의 총알 발사 높이를 찾는 것이다.  

입력

첫째 줄에 정수 $N$이 주어진다.

다음 줄에는 $N$개의 공백으로 구분된 정수 $A_1, A_2, \ldots, A_N$이 주어진다.

출력

첫째 줄에 두 플레이어가 모든 빌딩을 파괴하기 위한 최소 시간 $T$를 출력한다.

다음 $T$개의 줄에는 공백으로 구분된 두 정수를 한 줄에 하나씩 출력한다. 두 정수는 각각 첫 번째와 두 번째 플레이어의 총알 발사 높이를 나타낸다. 두 정수는 1보다 크거나 같고, $N+1$보다 작거나 같아야 하며, 두 정수가 서로 같아도 된다.

제한

  • $1 \le N \le 100\,000$
  • $1 \le A_i \le N$ $(1 \le i \le N)$
  • $A_i$ $(1 \le i \le N)$는 모두 서로 다르다.

서브태스크

번호배점제한
117

$1 \le i < j < k \le N$이고 $A_i < A_j < A_k$를 만족하는 $(i, j, k)$가 존재하지 않는다.

212

$1 \le i < j < k \le N$이고 $A_i > A_j > A_k$를 만족하는 $(i, j, k)$가 존재하지 않는다.

39

$N \le 4$

412

$N \le 16$

531

$N \le 500$

629

$N \le 7\,500$

740

추가적인 제약 조건이 없다.

예제 입력 1

4
1 2 4 3

예제 출력 1

2
1 4
2 3

예제 입력 2

8
4 3 8 2 1 7 6 5

예제 출력 2

4
4 8
3 7
2 6
1 5

예제 입력 3

8
5 6 7 1 2 8 3 4

예제 출력 3

4
5 6
7 8
1 2
3 4
W3sicHJvYmxlbV9pZCI6IjIyMDMwIiwicHJvYmxlbV9sYW5nIjoiMCIsInRpdGxlIjoiXHVjZDFkIFx1YzNkOFx1YWUzMCIsImRlc2NyaXB0aW9uIjoiPHA+XHViNDUwIFx1YmE4NVx1Yzc3NCBcdWFjMTlcdWM3NzQgXHVkNTU4XHViMjk0IFx1Yzc3OFx1ZDEzMFx1YjEzNyBcdWMyODhcdWQzMDUgXHVhYzhjXHVjNzg0XHVjNzc0IFx1Yzc4OFx1YjJlNC4gXHVjNzc0IFx1YWM4Y1x1Yzc4NFx1Yzc0MCBcdWQzZDBcdWQ1YzhcdWFjMDAgXHViNDFjIFx1YjNjNFx1YzJkY1x1YzVkMFx1YzExYyBcdWJlNGNcdWI1MjlcdWI0ZTRcdWM3NDQgXHViZDgwXH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lRoZXJlIGV4aXN0cyBubyB0dXBsZSAkKGksIGosIGspJCBzdWNoIHRoYXQgJDEgXFxsZSBpICZsdDsgaiAmbHQ7IGsgXFxsZSBOJCBhbmQgJEFfaSAmZ3Q7IEFfaiAmZ3Q7IEFfayQgaG9sZHMuPFwvcD5cclxuIiwic3VidGFzazMiOiI8cD4kTiBcXGxlIDQkPFwvcD5cclxuIiwic3VidGFzazQiOiI8cD4kTiBcXGxlIDE2JDxcL3A+XHJcbiIsInN1YnRhc2s1IjoiPHA+JE4gXFxsZSA1MDAkPFwvcD5cclxuIiwic3VidGFzazYiOiI8cD4kTiBcXGxlIDdcXCw1MDAkPFwvcD5cclxuIiwic3VidGFzazciOiI8cD5ObyBhZGRpdGlvbmFsIGxpbWl0cy48XC9wPlxyXG4ifV0=

채점 및 기타 정보

  • 예제는 채점하지 않는다.
  • 이 문제의 채점 우선 순위는 2이다.