Advertisement
Horikita_Suzune

Untitled

May 25th, 2019
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include<iostream>
  2. #include<iomanip>
  3. #define PI 3.14159265358979323846
  4. using namespace std;
  5. int main(){
  6.     int n;
  7.     cin>>n;
  8.     while(n--){
  9.         long double a;
  10.         cin>>a;
  11.         cout<<fixed<<setprecision(1)<<a*a*PI*0.75<<'\n';
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement