Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
84106 sh25_linzx 与圆相关的计算 C++ 通过 0 MS 248 KB 308 2026-02-08 16:43:43

Tests(1/1):


#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; }


测评信息: