Problem2840-- [CSP-S 2021] P1 廊桥分配

2840: [CSP-S 2021] P1 廊桥分配

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

Description





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

Source/Category

CSP-S