Disabling Installations
CodeChefOpen on judge ↗
Superman is currently chasing the Batmobile when he gets a surprise, Batman has installed N Anti-Superman (AS) installations along the road at different positions that shoot at him if he tries to fly above them. In order to pass through this perilous stretch safely, Superman decides to task his disciples to disable the installations. A disciple can start his job from any point on the road, and con
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