Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
5046 | yusuorong | 与圆相关的计算 | C++ | 解答错误 | 0 | 0 MS | 252 KB | 190 | 2020-07-26 17:03:19 |
#include<bits/stdc++.h> using namespace std; int main(){ double r,d,c,s,pi=3.14159; scanf("%lf",&r); d=r*2; c=d*pi; s=r*r*pi; printf("%.4lf %.4lf %.4lf",d,c,s); return 0; }