Zack And The Handkerchieves
CodeChefOpen on judge ↗
Problem Description Zack is a tailor by profession. He is famous for making square-shaped beautifully-cut and sewed handkerchieves. The customers demand large-sized handkerchieves. So, now Zack is determined to get the maximum size out of the cloth. He has a rectangular piece of cloth of length 'L' and breadth 'B'. His task is to divide it into 'N' square-shaped cloth pieces each of side leng
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