{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"A circle is placed perfectly into a square. The term perfectly placed means that each side of the square is touched by the circle, but the circle doesn\u0027t have any overlapping part with the square. See the picture below.\n\n![][1]\n\nNow you are given the radius of the circle. You have to find the area of the shaded region (blue part). Assume that **pi \u003d 2 * acos (0.0) (acos means cos inverse)**.\n\n[1]: https://static.lightoj.com/images/problem-1023-amAEyAXO-1596882110102.png?style\u003dcenterme,haveborder"}},{"title":"Note","value":{"format":"MD","content":"Hint: \n\nYou have to do the following if you are using C language-\n1. include math.h library at the top\n2. use pi \u003d 2*acos(0.0) as pi value"}},{"title":"Input","value":{"format":"MD","content":"Input starts with an integer **T (\u0026le; 1000)**, denoting the number of test cases.\n\nEach case contains a floating point number **r (0 \u0026lt; r \u0026le; 1000)** denoting the radius of the circle. And you can assume that **r** contains at most four digits after the decimal point."}},{"title":"Output","value":{"format":"MD","content":"For each case, print the case number and the shaded area rounded to two places after the decimal point."}},{"title":"Sample Input","value":{"format":"MD","content":"\u003cpre\u003e3\n20\n30.091\n87.0921\n\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"MD","content":"\u003cpre\u003eCase 1: 343.36\nCase 2: 777.26\nCase 3: 6511.05\n\u003c/pre\u003e"}}]}