Rangoli Competition
CodeChefOpen on judge ↗
A Rangoli contest is being hosted for Pongal. The length and breadth of the floor in the hall are $l$ and $b$ respectively. Each participant will be provided a patch of land on that floor with dimensions : ($p$ x $q$) - length $p$ and breadth $q$. Find the maximum number of participants that can be allocated a single piece of land for the contest. Note: - The patch of land shouldn't overlap
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start