P3890XOR和路径 | ||
|
Description
Input Format
如题
Output Format
如题
Sample Input 1
3 3
1 2 4
1 3 5
2 3 6
Sample Output 1
4.000
Sample Input 2
2 2
1 1 2
1 2 3
Sample Output 2
2.333
Source hnoi2011