Lockdown Initiated
CodeChefOpen on judge ↗
"Trapped and Zapped" — Killjoy There is a $N\times M$ grid which is undergoing lockdown initiated by Killjoy. Trapped in the lockdown, Brimstone wants to escape the grid as soon as possible. The grid has boundary walls that take $Q$ seconds to break and each pair of adjacent cells have a door between them that takes $K$ seconds to open. In order to move from one cell to another, Brimstone
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