P12284 [AOJ] Multisect
普及
题目描述

Example

Input

1 10 2
1 1 1

Output

2.0

输入格式

见题面

输出格式

见题面

样例输入
1 10 2 1 1 1
样例输出
2.0