Duck Hunter
CodeChefOpen on judge ↗
Hunter found a lot of yellow ducks in a blue water lake. The lake has a fencing because of which he cannot shoot the ducks from the ground. There are some yellow pillars which are connected by blue wires to form the fence. If the wires are used to form a circle, then the diameter of this circle will be equal to the mean width of the closed figure formed by fencing.All points outside the circle are
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