SHARE
TWEET

Untitled

Horikita_Suzune May 25th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top