#C1324. Calculate Minimum Flight Hours
Calculate Minimum Flight Hours
Calculate Minimum Flight Hours
A plane is scheduled to travel at a constant speed of S kilometers per hour from its starting point to multiple destinations. For each destination at a distance D, you are required to determine the minimum number of whole hours needed to reach that destination. This can be computed using the formula: $$\lceil\frac{D}{S}\rceil$$, where \(D\) is the distance and \(S\) is the speed.
The output for each destination should be formatted as "Destination i: x", where i is the destination number (starting from 1) and x is the corresponding number of hours.
inputFormat
The input is provided via standard input (stdin). The first line contains two integers: N and S, where N is the number of destinations and S is the speed of the plane (in km/h). The second line contains N space-separated integers representing the distances to the respective destinations (in kilometers).
outputFormat
For each destination, print a line with the format "Destination i: x", where i is the destination number (starting from 1) and x is the minimum whole number of hours required to travel that distance.
## sample1 350
1000
Destination 1: 3
</p>