#B4320. Maximizing Cookie Placement
Maximizing Cookie Placement
Maximizing Cookie Placement
Given a rectangular plate of size \(1 \times n\) and cookies of size \(1 \times m\), determine the maximum number of cookies that can be placed on the plate without overlapping. Mathematically, you need to compute \(\lfloor \frac{n}{m} \rfloor\).
inputFormat
The input consists of a single line containing two integers \(n\) and \(m\) separated by a space, where \(n\) represents the length of the plate and \(m\) represents the length of each cookie.
outputFormat
Output a single integer representing the maximum number of cookies that can fit on the plate.
sample
10 3
3