Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
46457 | 杨中琦 | 与圆相关的计算 | C++ | 通过 | 100 | 0 MS | 252 KB | 184 | 2022-07-13 13:30:07 |
using namespace std; int main(){ double r,pi=3.1415926,d,c,s; cin>>r; d=2*r; c=2*pi*r; s=pi*r*r; printf("%.4lf %.4lf %.4lf",d,c,s); return 0; }
exit code: 0, checker exit code: 0