#P1497. [NOIP2017 普及组] 跳房子

[NOIP2017 普及组] 跳房子

Description

Input Format

Output Format

7 4 10
2 6
5 -3
10 3
11 -3
13 1
17 6
20 2
2

Hint

Source

NOIP