Lighting the shop
The exciting World Cup 2010's summer is coming! And Johnny's family shop is busy preparing a colorful lighting board for the summer. The board has a rectangular shape of size M x N. There are certain positions on the board which Johnny wants to put in light bulbs. Johnny wants to decorate the board by colorful light bulbs. To make the board look attractive, he wants the bulbs in the same column
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