#C. 小P的生成树

    Type: Default 1000ms 256MiB

小P的生成树

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

image

输入样例1

3 3 
1 2 1 3 
2 3 2 2 
3 1 3 1

输出样例1

5.830952

image

输入样例2

6 9 
1 2 4 -1 
2 3 4 1 
3 4 -1 -5 
1 5 -4 0 
4 6 1 -6 
2 6 -6 0 
5 6 -7 5 
2 4 7 1 
1 4 -9 -5

输出样例

27.459060

image

提高组测试4

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2023-8-17 14:00
End at
2023-8-21 18:00
Duration
100 hour(s)
Host
Partic.
6