前言
Hello,大家好我是文宇.
正文
3026
#include<bits/stdc++.h>
using namespace std;
int a,b,c;
int main(){
cin>>a>>b>>c;
cout<<a+b+c;
return 0;
}
3027
#include<bits/stdc++.h>
using namespace std;
int main(){
double x;
cin>>x;
cout<<fixed<<setprecision(3)<<x;
return 0;
}
3028
#include<bits/stdc++.h>
using namespace std;
int main(){
double r;
const double PI=3.14159;
cin>>r;
cout<<fixed<<setprecision(4)<<2*r<<" "<<2*PI*r<<" "<<PI*r*r;
return 0;
}
3029
#include<bits/stdc++.h>
using namespace std;
double a,h,s;
int main(){
cin>>a>>h;
s=(a*h)/2;
cout<<"s="<<s;
return 0;
}
3030
#include<bits/stdc++.h>
using namespace std;
int main(){
double x;
cin>>x;
cout<<fixed<<setprecision(12)<<x;
return 0;
}