体温测量
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.
题目描述
小A测量了自己的体温,结果为 C。
体温根据以下 种情况进行分类:
当体温为 C 及以上时,称为「高热」
当体温为 C 及以上且低于 C 时,称为「发热」
当体温低于 C 时,称为「平热」
请判断小A的体温属于哪种分类,并按「输出」部分的要求输出对应整数。
输入格式
输出格式
根据小A的体温分类,输出以下对应整数:
高热的情况:
发热的情况:
平热的情况:
输入输出样例 #1
输入 #1
40.0
输出 #1
1
输入输出样例 #2
输入 #2
37.7
输出 #2
2
输入输出样例 #3
输入 #3
36.6
输出 #3
3
限制与约定
对于 的数据
是保留到小数点后一位的数字
- 时间限制:
- 空间限制:
[柳泉中学,龙凤苑中学,科技苑中学]拔高班第六次训练复盘
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2025-4-8 16:30
- End at
- 2025-4-18 16:30
- Duration
- 240 hour(s)
- Host
- Partic.
- 43