温度表达转化

Luogu
IDLGB2013
Time1000ms
Memory128MB
DifficultyP1
顺序结构
利用公式 $C=5 \times (F - 32)/9$ ( 其中 $C$ 表示摄氏温度,$F$ 表示华氏温度)进行计算转化,输入华氏温度 $F$,输出摄氏温度 $C$,要求精确到小数点后 $5$ 位。 ## Input 输入一行,包含一个实数 $F$,表示华氏温度。($F \ge - 459.67$) ## Output 输出一行,包含一个实数,表示对应的摄氏温度,要求精确到小数点后 $5$ 位。 [samples] ## Note $- 459.67\le F\le 550$
Samples
Input #1
41
Output #1
5.00000
API Response (JSON)
{
  "problem": {
    "name": "温度表达转化",
    "description": {
      "content": "利用公式 $C=5 \\times (F - 32)/9$ ( 其中 $C$ 表示摄氏温度,$F$ 表示华氏温度)进行计算转化,输入华氏温度 $F$,输出摄氏温度 $C$,要求精确到小数点后 $5$ 位。",
      "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": "LGB2013"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "利用公式 $C=5 \\times (F - 32)/9$ ( 其中 $C$ 表示摄氏温度,$F$ 表示华氏温度)进行计算转化,输入华氏温度 $F$,输出摄氏温度 $C$,要求精确到小数点后 $5$ 位。\n\n## Input\n\n输入一行,包含一个实数 $F$,表示华氏温度。($F \\ge - 459.67$)\n\n## Output\n\n输出一行,包含一个实数,表示对应的摄氏温度,要求精确到小数点后 $...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments