#4121. C++-GESP 2025-09认证八级-编程题01(最短距离)
C++-GESP 2025-09认证八级-编程题01(最短距离)
Background
Description

Format
Input
Output
Samples
4 4 3
1 2
2 3
4 2
3 5
4
4
3
4
5 2 6
1 2
2 3
4 2
3 5
6 6
2
2
4
2
0

4 4 3
1 2
2 3
4 2
3 5
4
4
3
4
5 2 6
1 2
2 3
4 2
3 5
6 6
2
2
4
2
0
By signing up a PaiBlockly编程创客平台图形模块编程软件系统 universal account, you can submit code and join discussions in all online judging services provided by us.