提交时间:2024-03-23 12:10:17
运行 ID: 43838
#include<bits/stdc++.h> using namespace std; int main(){ int r; cin>>r; double s=r*2; double c=(3.14159*r)*2; double a=3.14159*r*r; cout<<fixed<<setprecision(4)<<s; cout<<" "; cout<<fixed<<setprecision(4)<<c; cout<<" "; cout<<fixed<<setprecision(4)<<a; return 0; }