#C11829. Minimum Cameras
Minimum Cameras
Minimum Cameras
You are given two integers N and K, where N represents the number of doors and K represents the number of consecutive doors that one camera can monitor. The task is to determine the minimum number of cameras required to monitor all N doors.
This can be mathematically expressed using the ceiling function as follows:
$$\lceil \frac{N}{K} \rceil$$
For example, if N = 10 and K = 3, the answer is 4 since 3 cameras can cover 9 doors and one additional camera is needed for the last door.
inputFormat
The input is read from standard input (stdin) and contains two space-separated integers: N and K.
outputFormat
Output the minimum number of cameras required to monitor all doors to standard output (stdout).
## sample10 3
4