5814: IOI2021 练习赛 T3:Finding Routers (routers)
[Creator : ]
Description
Input
Output
Constraints
Sample 1 Input
5 2 10
0 4
Sample 1 Output
0 4
2
Sample 2 Input
6 3 10
0 2 6
Sample 2 Output
0 2 6
5
5 2 10
0 4
0 4
2
6 3 10
0 2 6
0 2 6
5