Shooting Birds
CodeChefOpen on judge ↗
You are a bird shooting enthusiast. You are standing on position 0 and a flock of birds (assume infinitely many birds) is flying away from you at 1m/s. The flock of birds is initially at 1m away from you. Your rating is (P, N) and your time lag is (T, R). This means the following. - If P is your precision rating : At every turn, beginning when the birds are at 1m position, you take a shot at on
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