E.cpp 240 B

12345678910111213
  1. #include <bit/stdc++.h>
  2. using namespace std;
  3. const double PI = atan(1.0) * 4;
  4. int main() {
  5. int n;
  6. double r;
  7. for (cin >> n; cin >> r, n--;) {
  8. cout << fixed << setprecision(6) << PI * r * r << endl;
  9. }
  10. return 0;
  11. }