4 条题解
-
5
12337陈子函 (12337陈子函) LV 8 @ 2021-11-06 19:07:28
#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;
} -
0@ 2021-12-04 20:42:01
#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 -
0@ 2021-11-27 17:08:34
#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;
} -
-5@ 2021-11-08 20:49:30
#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
- 分类
- (无)
- 标签
- 递交数
- 238
- 已通过
- 142
- 通过率
- 60%
- 被复制
- 6
- 上传者