4 条题解
-
5
12337陈子函 (12337陈子函) LV 8 @ 3 年前
#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
double R;
cin>>R;
cout<<fixed<<setprecision(6)<<3.141592653589793*R*R<<endl;
cout<<fixed<<setprecision(6)<<2*R*R<<endl;
return 0;
} -
03 年前@
#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
double r;
cin>>r;
cout<<fixed<<setprecision(6)<<3.141592653589793*r*r<<endl;
cout<<fixed<<setprecision(6)<<2*r*r<<endl;
return 0;
}//dtdujghtughtreuoghrejoigewjofdgrgrtgyr -
03 年前@
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
double R;
cin>>R;
cout<<fixed<<setprecision(6)<<3.141592653589793*R*R<<endl;
cout<<fixed<<setprecision(6)<<2*R*R<<endl;
return 0;
} -
-53 年前@
#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
double R;
cin>>R;
cout<<fixed<<setprecision(6)<<3.141592653589793*R*R*1.0<<endl;
cout<<fixed<<setprecision(6)<<2*R*R*1.0;
return 0;
}
3个头文件必不可少
122
- 1
信息
- ID
- 1648
- 难度
- 2
- 分类
- (无)
- 标签
- 递交数
- 226
- 已通过
- 134
- 通过率
- 59%
- 被复制
- 6
- 上传者