RENOVATION
CodeChefOpen on judge ↗
New Year is just around the corner, so for this new year Adarsh wants to renovate the UIET Basketball court, dimensions of basketball court are $L$(length) and $B$(width). He has an infinitely large synthetic sheet which he wants to place on the surface of the basketball court in the shape of squares of equal sizes(Formally you have to cut out equal sized squares from infinite sheet to place over
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