cf/mirror

Jellyfish and EVA

CF
1874C2300· international master2s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
3 2
1 2
1 3
7 8
1 2
1 3
1 4
1 5
2 6
3 6
4 6
6 7
10 20
1 2
1 3
1 4
1 5
1 6
2 6
2 7
2 8
2 9
3 4
3 7
3 8
3 10
4 6
4 8
4 10
6 10
7 8
7 9
7 10
Output
0.500000000000
0.625000000000
0.491666666667
1874C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…