Sitting Arrangements
CodeChefOpen on judge ↗
Finally Ayodhan'18 has come and members of registration committee are arranging their seats for taking registrations from participants on day of event. But arranging seats for them is a problem. They are allowed to sit in an area equal to LxW where L and W are length and width respectively of the rectangle. Morever, the benches on which they are sitting, are square-shaped and are having sides onl
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