LOCKDOWNPARTY
CodeChefOpen on judge ↗
Mr. Gupta has organised a party at his house because he wants to meet his friends. It’s been a nationwide Lockdown so he is very excited to meet them after unlock. He has been doing all the arrangements by himself, he came to know that the bulbs in the party hall are not functioning properly. Due to faulty wiring, a switch when pressed also reverses the state of all the bulbs to the right of cu
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