Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
43833 | wangyuchun | 与圆相关的计算 | C++ | Compile Error | 0 MS | 0 KB | 269 | 2024-03-23 12:01:57 |
#include<bits/stdc++.h> using namespace std; int main(){ int r; cin>>r; int d=r*2; int c=(3.14159*r)*2; int s=3.14159*r*r; cout<<fixed<<setpresion(4)<<d; cout<<fixed<<setpresion(4)<<c; cout<<fixed<<setpresion(4)<<s; return 0; }