Type: Default 1000ms 16MiB

作业题 - 温度转换

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.

题目描述

小明学习了华氏温度和摄氏温度转换的相关知识,现在它想要编写一个程序,把给定任意输入的华氏温度转化成摄氏温度。
已知摄氏温度(C)与华氏温度(F)的转换公式如下:C=5/9*(F-32)

输入输出说明

输入说明

一行,包含一个浮点数,表示华氏温度

输出说明

一行,包含一个浮点数,表示对应的摄氏温度,结果保留2位小数。

题目样例

样例输入

50.0

样例输出

10.00

小孩头保卫战之神秘的假期

Not Attended
Status
Done
Rule
XCPC
Problem
11
Start at
2025-6-18 10:00
End at
2025-6-22 14:00
Duration
100 hour(s)
Host
Partic.
37