Problem1868--【CSP2021-S-T1】廊桥分配

1868: 【CSP2021-S-T1】廊桥分配

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MB

Submit

Description

Input

Output

Sample Input Copy

3 5 4
1 5
3 8
6 10
9 14
13 18
2 11
4 15
7 17
12 16

Sample Output Copy

7

HINT



Source/Category

NOIP