Squares_Inside_other_squares
CodeChefOpen on judge ↗
You are given a big square of side $A$. You are given two squares of sides $B$ , $C$ You have to fill the bigger square space completely only with the 2 smaller squares such that you cannot cut any of the squares in any parts . No space cannot be cut and the bigger square must be fully filled with smaller squares. Find if it is possible to fill the bigger square completely or not. ###Input:
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