King's Problem?
30D2600· international gm3s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3 10 1 2 11
Output
3.41421356237309490000
Sample 2of 3
Input
3 11 0 2 11
Output
3.82842712474619030000
Sample 3of 3
Input
4 50 5 -1 -5 23
Output
14.24264068711928400000
58%
30D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)