cf/mirror

Mice problem

CF
793C2300· international master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
4
7 7 9 8
3 5 7 5
7 5 2 4
3 3 7 8
6 6 3 2
Output
0.57142857142857139685
Sample 2of 2
Input
4
7 7 9 8
0 3 -5 4
5 0 5 4
9 9 -1 -6
10 5 -7 -10
Output
-1
793C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)