Weakness and Poorness
578C2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
31 2 3
Output
1.000000000000000
Sample 2of 3
Input
41 2 3 4
Output
2.000000000000000
Sample 3of 3
Input
101 10 2 9 3 8 4 7 5 6
Output
4.500000000000000
58%
578C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)