On and Off
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.
Background
Special for beginners, ^_^
Description
高桥家每日 s 时整开灯, t 时整关灯。求 x 点半的时候是不是开着灯?(注: 0≤s,t,x<24 ,有可能半夜还开着灯)
Format
Input
输入3个数 分别表示 s t x
Output
输出 Yes 或者 No,表示是否开着灯
Samples
7 20 12
Yes
20 7 12
No
23 0 23
Yes
Limitation
0 ≤ S, T, X ≤ 23 S≠T
周末班结营考试
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2025-1-11 14:30
- End at
- 2025-1-11 16:30
- Duration
- 2 hour(s)
- Host
- Partic.
- 14