Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
43836 | wangyuchun | 与圆相关的计算 | C++ | Compile Error | 0 MS | 0 KB | 313 | 2024-03-23 12:04:57 |
#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<<setpresion(4)<<s; cout<<" "; cout<<fixed<<setpresion(4)<<c; cout<<" "; cout<<fixed<<setpresion(4)<<s; return 0; }