5 条题解
-
1
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; #define MP(a,b) make_pair(a,b) int main() { ios::sync_with_stdio ( false ); double r,d,z,m; cin>>r; d=r*2.0; z=d*3.14159; m=3.14159*r*r; cout<<fixed<<setprecision(4)<<d<<" "<<z<<" "<<m; return 0; }
信息
- ID
- 6871
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 1
- 标签
- 递交数
- 43
- 已通过
- 19
- 上传者