← All problemsSign in

Colored Tiles

Problem Statement:- Joey has moved to a new apartment and is happy. But the floor of his room looks colorless and dull. So, he decides to color the tiles of his floor. The areas of the tiles are not the same so decides to keep some of the tiles uncolored. Then Joey came up with an idea of coloring the tiles. He will color the tiles RED if the area of the tile is divisible by 3 and BLUE if div

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start