13 条题解
- 1
信息
- ID
- 1179
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 3
- 标签
- (无)
- 递交数
- 434
- 已通过
- 248
- 上传者
#include <iostream>
using namespace std;
int main(){
double a,b,c, m;
cin>>m;
a=2* m;
b=2*m*3.14159;
c=m*m*3.14159;;
printf("%.4lf",a);
cout << " " ;
printf("%.4lf",b);
cout << " " ;
printf("%.4lf",c);
return 0;
}
#include #include using namespace std; int main(){ double r; cin>>r; double zj=r2.0; double zc=2.0r3.14159; double mj=3.14159r*r; cout<<fixed<<setprecision(4)<<zj<<" "<<zc<<" "<<mj; return 0; }
#include #include using namespace std; int main(){ double r; cin>>r; double zj=r2.0; double zc=2.0r3.14159; double mj=3.14159r*r; cout<<fixed<<setprecision(4)<<zj<<" "<<zc<<" "<<mj; return 0; }
#include using namespace std; int main(){ double a,b,c, m; cin>>m; a=2* m; b=2m3.14159; c=mm3.14159;; printf("%.4lf",a); cout << " " ; printf("%.4lf",b); cout << " " ; printf("%.4lf",c); return 0; }
#include<bits/stdc++.h> using namespace std; int main(){ double r,R,c,s,a; cin>>r; a=3.14159; R=r2; c=aR; s=arr; printf("%.4lf",R); cout<<" "; printf("%.4lf",c); cout<<" "; printf("%.4lf",s); return 0; }
#include<bits/stdc++.h> using namespace std; int main(){ double r,R,c,s,a; cin>>r; a=3.14159; R=r2; c=aR; s=arr; printf("%.4lf",R); cout<<" "; printf("%.4lf",c); cout<<" "; printf("%.4lf",s); return 0; }
#include <iostream>
using namespace std;
int main(){
double a,b,c, m;
cin>>m;
a=2* m;
b=2*m*3.14159;
c=m*m*3.14159;;
printf("%.4lf",a);
cout << " " ;
printf("%.4lf",b);
cout << " " ;
printf("%.4lf",c);
return 0;
}
#include<bits/stdc++.h> using namespace std; int main(){ double b,z,c,m; cin>>b; z=b2; c=b3.141592; m=bb*3.14159; printf("%.4lf",z); cout<<" "; printf("%.4lf",c); cout<<" "; printf("%.4lf",m); return 0; }
#include using namespace std; int main(){ double a,b,c, m; cin>>m; a=2* m; b=2m3.14159; c=mm3.14159; printf("%.4lf",a); cout << " " ; printf("%.4lf",b); cout << " " ; printf("%.4lf",c); return 0; }
#include <iostream>
using namespace std;
int main(){
double a,b,c, m;
cin>>m;
a=2* m;
b=2*m*3.14159;
c=m*m*3.14159;;
printf("%.4lf",a);
cout << " " ;
printf("%.4lf",b);
cout << " " ;
printf("%.4lf",c);
return 0;
}
👀️
#include <iostream>
using namespace std;
int main(){
double a,b,c, m;
cin>>m;
a=2* m;
b=2*m*3.14159;
c=m*m*3.14159;
printf("%.4lf",a);
cout << " " ;
printf("%.4lf",b);
cout << " " ;
printf("%.4lf",c);
return 0;
}
绝对真实
#include <iostream>
using namespace std;
int main(){
double a,b,c, m;
cin>>m;
a=2* m;
b=2*m*3.14159;
c=m*m*3.14159;;
printf("%.4lf",a);
cout << " " ;
printf("%.4lf",b);
cout << " " ;
printf("%.4lf",c);
return 0;
}