Dividing Kingdom
260E2500· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
91 11 21 32 12 22 33 13 23 31 1 1 1 1 1 1 1 1
Output
1.5000000000 2.50000000001.5000000000 2.5000000000
Sample 2of 3
Input
154 4-1 -31 53 -4-4 4-1 13 -3-4 -5-3 33 24 1-4 2-2 -5-3 4-1 42 1 2 1 2 1 3 2 1
Output
-3.5000000000 2.00000000003.5000000000 -1.0000000000
Sample 3of 3
Input
10-2 106 0-16 -6-4 13-4 -2-17 -109 1518 16-5 210 -52 1 1 1 1 1 1 1 1
Output
-1
58%
260E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)