- 与圆相关的计算
1
- @ 2026-9-30 14:13:22
#include<bits/stdc++.h> #define PI 3.14159 using namespace std; int main(){ double r,d,c,s; cin>>r; d=r2; c=2PIr; s=PIr*r; cout<<setiosflags(ios::fixed)<<setprecision(4); cout<<d<<' '<<c<<' '<<s<<endl; return 0; }
1 条评论
-
刘梓墨1 LV 3 @ 2026-9-30 14:20:36
qwe
- 1
信息
- ID
- 17
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 5
- 标签
- (无)
- 递交数
- 170
- 已通过
- 66
- 上传者