C - Cutting Rebar

Languages: C, C++, Java, Python, Kotlin
Time & Memory limits: (details)

Input

Output

Sample test(s)

Input
2 32 1 20.99 4 9.21
Output
2
Input
6 14 1 10.33 1 3.24 1 12.51 1 13.94 1 3.12 1 9.15
Output
4

Hints