LCC '25 Contest 2 J3 - Rice Farming
View as PDFFarmer John is standing in a rice field. He has a sunhat of radius , and any crops underneath the hat instantly die due to its sheer effectiveness. He walks around along in a circle along the circumference with radius
. What is the area of crops that die?
Constraints
Input Specifications
The first and only line will contain space-separated integers .
Output Specifications
Output the area of crops that die. Any answer within will be considered correct.
Sample Input
3 5
Sample Output
188.495559215
Explanation for Sample Output
The region in which the crops die is and is shaded below. The blue region is the crops that die, and red is the hat size, and the middle circle is the path that farmer John walks along.

Comments