体温测量

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测量了自己的体温,结果为 XX {}^\circC。

体温根据以下 33 种情况进行分类:

当体温为 38.038.0 {}^\circC 及以上时,称为「高热」

当体温为 37.537.5 {}^\circC 及以上且低于 38.038.0 {}^\circC 时,称为「发热」

当体温低于 37.537.5 {}^\circC 时,称为「平热」

请判断小A的体温属于哪种分类,并按「输出」部分的要求输出对应整数。

输入格式

XX

输出格式

根据小A的体温分类,输出以下对应整数:

高热的情况:11

发热的情况:22

平热的情况:33

输入输出样例 #1

输入 #1

40.0

输出 #1

1

输入输出样例 #2

输入 #2

37.7

输出 #2

2

输入输出样例 #3

输入 #3

36.6

输出 #3

3

限制与约定

对于100%100 \% 的数据 30X5030 \leq X \leq 50

XX 是保留到小数点后一位的数字

  • 时间限制: 1s1 s
  • 空间限制: 256MB256 MB

柳泉中学7.7日下午

Not Attended
Status
Done
Rule
IOI
Problem
17
Start at
2025-7-7 14:00
End at
2025-7-7 17:00
Duration
3 hour(s)
Host
Partic.
23