| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 84106 | sh25_linzx | 与圆相关的计算 | C++ | Accepted | 0 MS | 248 KB | 308 | 2026-02-08 16:43:43 |
#include<iostream> #include<iomanip> using namespace std; const double pi=3.14159; void fsp(double &a){ cout<<fixed<<setprecision(4)<<a; cout<<" "; } int main(){ double r,d,c,s; cin>>r; d=2*r; c=d*pi; s=pi*r*r; fsp(d); fsp(c); fsp(s); return 0; }