← All problemsSign in

Lazer Tag

There's a new gaming arena in town, famous for its laser tag. The laser tag arena contains a target and various mirrors capable of reflecting the laser. You enter the arena and your goal is to shoot the target with your laser gun. You can choose when the target appears or disappears as per your requirement. For the purposes of this problem,you can consider the arena to be a cartesian plane with y

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start