Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
6126 张博涵 与圆相关的计算 C++ 通过 0 MS 252 KB 262 2023-01-20 17:42:10

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { double r,d,c,s; cin>>r; d=2*r; cout<<fixed<<setprecision(4)<<d<<endl; c=3.14159*d; cout<<fixed<<setprecision(4)<<c<<endl; s=3.14159*r*r; cout<<fixed<<setprecision(4)<<s; return 0; }


测评信息: