Tile Design
CodeChefOpen on judge ↗
Harry is renovating his house and needs to choose his tiles for a strip of standard width, the shop lets him know that each color of the tiles have different length. Below is their brochure:  Harry can choose any number of colors, the length of the strip is $N$, Can you let him number of possible configurations using the colours of one
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