Zombie Hunter
CodeChefOpen on judge ↗
Jim is playing the game **Zombie Hunter 2.0**. It is a fun game, you have a machine gun with infinite ammo and an infinite number of zombies running towards you. All you have to do is kill as many zombies as possible (not much fun after all!). At a particular instant, Jim can see $N$ zombies on his map (a 2D Plane). He considers a zombie as **dangerous** if it is at most $D$ distance away from him
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