计算球的体积

Luogu
IDLGB2027
Time1000ms
Memory128MB
DifficultyP1
顺序结构
已知球半径为 $r$ 时,球的体积为 $V=\frac{4}{3}\pi r^3$。 小理手里有个半径为 $r$ 的球体,他现在想知道这个球的体积为多少? **计算时,取 $\pi = 3.14$**。 ## Input 输入共一行,其中包括一个正整数 $r$ 表示球体的半径。 ## Output 输出共一行,其中包括球体的体积。**要求保留小数点后$5$ 位**。 [samples] ## Note $1\leq r\leq 100$。
Samples
Input #1
5
Output #1
523.33333
API Response (JSON)
{
  "problem": {
    "name": "计算球的体积",
    "description": {
      "content": "已知球半径为 $r$ 时,球的体积为 $V=\\frac{4}{3}\\pi r^3$。 小理手里有个半径为 $r$ 的球体,他现在想知道这个球的体积为多少? **计算时,取 $\\pi = 3.14$**。",
      "description_type": "Markdown"
    },
    "platform": "Luogu",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 131072
    },
    "difficulty": {
      "LuoguStyle": "P1"
    },
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "LGB2027"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "已知球半径为 $r$ 时,球的体积为 $V=\\frac{4}{3}\\pi r^3$。\n\n小理手里有个半径为 $r$ 的球体,他现在想知道这个球的体积为多少?\n\n**计算时,取 $\\pi = 3.14$**。\n\n## Input\n\n输入共一行,其中包括一个正整数 $r$ 表示球体的半径。\n\n## Output\n\n输出共一行,其中包括球体的体积。**要求保留小数点后$5$ 位**。\n\n[samples...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments