Water My Plants
CodeChefOpen on judge ↗
In your greenhouse you have a number of plants which you need to water. Each of the plants takes up an area which is a circle. No two of the plants overlap or touch each other. You are going to buy two sprinklers. Each of the sprinklers will spray everything within a circle of radius R with water. One of the sprinklers will run in the morning, and one will run at night. For you to be satisfied th
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