与圆相关的计算
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.
说明
给出圆的半径,求圆的直径、周长和面积。输入圆的半径实数r,输出圆的直径、周长、面积,每个数保留小数点后4位。请注意,本题中圆周率取值为3.14159。
输入格式
输入包含一个实数,表示圆的半径。
输出格式
输出一行,包含三个数,分别表示圆的直径、周长、面积,数与数之间以一个空格分开。要求每个数均保留小数点后4位。
样例
3.0
6.0000 18.8495 28.2743
XCPC 24寒假冬令营 练习2
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 6
- Start at
- 2024-2-3 21:30
- End at
- 2024-2-13 21:30
- Duration
- 240 hour(s)
- Host
- Partic.
- 7