圆的相关计算
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
假设圆的半径为,直径为,圆周率为,周长为,面积为,圆周率为。
那么,圆的相关计算公式如下:
现给定圆的半径,求圆的直径、周长和面积,数值之间以一个空格隔开,并保留两位小数。
注: 取值 。
输入
一个单精度浮点数,表示圆的半径。
输出
如题所述。
输入输出样例
输入 #1
2
输出 #1
4.00 12.56 12.56
顺序结构小测
- Status
- Done
- Rule
- IOI
- Problem
- 5
- Start at
- 2025-1-19 16:00
- End at
- 2025-1-19 18:00
- Duration
- 1.5 hour(s)
- Host
- Partic.
- 74