The Grid
CodeChefOpen on judge ↗
Everyone knows that electricity travels faster than anything. But we can delay an electric signal if we can make it pass through a grid of dense and resistive wires. So, this is your objective in this problem. You are given a square grid consisting of numbers. The numbers in the grid are the seconds by which an electric signal can be delayed if it is made to pass through that particular block in t
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