Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<iomanip>
- #define PI 3.14159265358979323846
- using namespace std;
- int main(){
- int n;
- cin>>n;
- while(n--){
- long double a;
- cin>>a;
- cout<<fixed<<setprecision(1)<<a*a*PI*0.75<<'\n';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement