#C2993. Fitting Taco Patterns on a Canvas
Fitting Taco Patterns on a Canvas
Fitting Taco Patterns on a Canvas
Given a rectangular canvas and a taco pattern with a fixed height \(P\), your task is to determine the maximum number of complete patterns that can be vertically arranged on the canvas. Although the canvas width \(W\) is provided, it does not affect the vertical placement. The answer for each test case is given by \(\lfloor H / P \rfloor\), where \(H\) is the height of the canvas.
inputFormat
The input is provided via standard input. The first line contains an integer \(T\), the number of test cases. Each of the following \(T\) lines contains three space-separated integers \(H\), \(W\), and \(P\) denoting the canvas height, canvas width, and pattern height respectively.
outputFormat
For each test case, output a single integer on a new line representing the maximum number of complete patterns (of height \(P\)) that can fit on the canvas of height \(H\).
## sample2
15 10 3
20 5 4
5
5
</p>