#526. How Big Is It?

How Big Is It?

说明

样例

3
3 2.0 1.0 2.0
4 2.0 2.0 2.0 2.0
3 2.0 1.0 4.0
9.657
16.000
12.657