Street Light
CodeChefOpen on judge ↗
One evening, Zikon was going through the X road in Delhi when he noticed that the street lamps were not working properly. After walking a little longer he noticed that till a particular point all street lamps were off and after that all were working and lit. Being a sincere citizen, he immediately decided to bring the situation to the concerned department. But to report the problem he needs to te
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