cf/mirror

Ezzat and Two Subsequences

CF
1557A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
3
3 1 2
3
-7 -6 -6
3
2 2 2
4
17 3 5 -3
Output
4.500000000
-12.500000000
4.000000000
18.666666667
1557A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)