Problem AQ
Wood Cutting
Languages
en
ja
Yraglac recently decided to get into the wood cutting
business, and now has
Input
The first line contains a single integer
Output
For each test case, output a single line containing the
minimum average total time a customer will wait to have all of
their wood pieces cut. Your answer will be considered correct
if its absolute or relative error doesn’t exceed
Sample Input 1 | Sample Output 1 |
---|---|
2 1 2 7 5 2 1 7 1 5 |
12.0000000000 8.5000000000 |