結果

問題 No.2371 最大の試練それは起床
コンテスト
ユーザー dango
提出日時 2023-07-07 21:24:56
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 324 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 420 ms
コンパイル使用メモリ 85,132 KB
実行使用メモリ 53,872 KB
最終ジャッジ日時 2026-04-03 05:25:00
合計ジャッジ時間 1,724 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

H, M = map(int, input().split())
wake_up_time = H * 60 + M
asakatsu_start_time = 7 * 60 + 30
asakatsu_end_time = 8 * 60 + 30

if H == 8 and M == 30:
  print("No")
elif wake_up_time < asakatsu_start_time:
    print("Yes")
elif asakatsu_start_time <= wake_up_time <= asakatsu_end_time:
    print("Late")
else:
    print("No")
0