Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
6343 张然正 与圆相关的计算 C++ 通过 0 MS 248 KB 292 2023-01-22 17:49:22

Tests(1/1):


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


测评信息: