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