Dont Stop !
CodeChefOpen on judge ↗
A sudden commencement of unimaginable events unveil Dr. Octavius thrashing cars on the highway like a waste can. Peter Parker being our Friendly Neighbourhood Spiderman puts the lives of people as his utmost priority, and wants to evacuate all the cars on the highway. There are $N$ traffic signals on the highway where each traffic signal can exhibit $2$ colours: Red and Green. **The $i^
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