CF28C Bath Queue
Description
There are $ n $ students living in the campus. Every morning all students wake up at the same time and go to wash. There are $ m $ rooms with wash basins. The $ i $ -th of these rooms contains $ a_{i} $ wash basins. Every student independently select one the rooms with equal probability and goes to it. After all students selected their rooms, students in each room divide into queues by the number of wash basins so that the size of the largest queue is the least possible. Calculate the expected value of the size of the largest queue among all rooms.
Input Format
The first line contains two positive integers $ n $ and $ m $ ( $ 1
Output Format
Output single number: the expected value of the size of the largest queue. Your answer must have an absolute or relative error less than $ 10^{-9} $ .