Gaithonde owns a new home
CodeChefOpen on judge ↗
Gaithonde has just arrived in the city of Mumbai and plan to start his gang from Gopalmath. He bought a house and seeing the pathetic floor conditions want to pave it with tile. He has a m x n units of floor area and want to cover it up with 2x1 size tiles. As being a gangster he is not good at calculations. Could you help him to find out the minimum number tiles he need cover the floor? $Note:$ A
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