Space mines
89D2500· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
0 0 0 1 0 0 5210 8 0 2 20 -3 02 2 020 0 0 4 32 4 0-4 3 01 -5 0
Output
10.0000000000
Sample 2of 3
Input
8 8 4 4 4 2 61-2 -2 -1 3 0
Output
-1
Sample 3of 3
Input
30 30 2 1 2 1 2030 0 40 5 11 4 4-10 -40 -5 7 0100 200 95 8 1-10 0 0
Output
74.6757620881
58%
89D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)