Hackerman
Hacker-man's crew is trying to get into Swiss bank's locker, but in order to do so, hacker-man has to bypass a really tough laser lock. He can see a square matrix with $N$ rows and $N$ columns. Inside it, he sees $K$ lasers in fixed coordinates. Each laser can be oriented vertically or horizontally, but not both. If placed horizontally, a laser will light up all cells in its row with distance at
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