#949. 闲荡
闲荡
输入样例
3 2
1 2 3
1 2
2 3
输出样例
0.000
1.000
3.000
数据规模
对于 10% 的数据,N <=5, M <=10。
4对于 30% 的数据,N, M <=50。
对于 70% 的数据,N, M<=1000。
对于 100% 的数据,1 <= N, M <= 10^5 , 0<= vi <=10^9。
Statistics
Related
In following contests:
3 2
1 2 3
1 2
2 3
0.000
1.000
3.000
对于 10% 的数据,N <=5, M <=10。
4对于 30% 的数据,N, M <=50。
对于 70% 的数据,N, M<=1000。
对于 100% 的数据,1 <= N, M <= 10^5 , 0<= vi <=10^9。
In following contests:
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.