Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
5990 鲁家菱 与圆相关的计算 C++ 通过 0 MS 256 KB 294 2023-01-19 15:00:23

Tests(1/1):


#include<iostream> #include<iomanip> using namespace std; int main() { float r; float a=3.14159; cin>>r; float d=2*r; float c=2*a*r; float s=a*r*r; cout<<fixed<<setprecision(4)<<d<<" "; cout<<fixed<<setprecision(4)<<c<<" "; cout<<fixed<<setprecision(4)<<s; return 0; }


测评信息: