Known as the Fruit Brother
题号:NC243749
时间限制:C/C++/Rust/Pascal 4秒,其他语言8秒
空间限制:C/C++/Rust/Pascal 1024 M,其他语言2048 M
Special Judge, 64bit IO Format: %lld

题目描述

输入描述:

见 PDF 题面

输出描述:

见 PDF 题面
示例1

输入

复制
1 2 2
0 2 7 4
-3 3
8 2
1 1 6 6

输出

复制
9.543203767