← All problemsSign in

Katniss the Huntress

Katniss needs to gut some tributes in the Hunger Games, and she needs your help, even though you’d probably be the first to die, you weakling (you know who you are, Peeta). Katniss has identified her enemies to be standing on or inside a rectangle with sides parallel to the coordinate axes, with one vertex at the origin. There are n enemies. She is accurate enough to be able to fire an arrow from

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