Splash
CodeChefOpen on judge ↗
All people in wonderland are given the task to color walls. Since there can be many people coloring the wall simultaneously, there can be instances of double coats. The chef is the most supreme of them all doesn't like interference and hence he appointed you to tell him the slots where he won't be interrupted and can paint in any fashion he likes. Note! The first entry in each case is that of the
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