結果

問題 No.2371 最大の試練それは起床
ユーザー dangodango
提出日時 2023-07-07 21:24:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 324 bytes
コンパイル時間 307 ms
コンパイル使用メモリ 87,136 KB
実行使用メモリ 71,644 KB
最終ジャッジ日時 2023-09-28 22:20:36
合計ジャッジ時間 2,969 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
71,236 KB
testcase_01 AC 77 ms
71,460 KB
testcase_02 AC 75 ms
71,228 KB
testcase_03 AC 74 ms
71,236 KB
testcase_04 AC 73 ms
71,644 KB
testcase_05 AC 74 ms
71,396 KB
testcase_06 AC 74 ms
71,392 KB
testcase_07 AC 74 ms
71,408 KB
testcase_08 AC 75 ms
71,392 KB
testcase_09 AC 74 ms
71,108 KB
testcase_10 AC 75 ms
71,428 KB
testcase_11 AC 75 ms
71,192 KB
testcase_12 AC 75 ms
71,320 KB
testcase_13 AC 75 ms
71,460 KB
testcase_14 AC 76 ms
71,284 KB
testcase_15 AC 76 ms
71,360 KB
testcase_16 AC 77 ms
71,572 KB
testcase_17 AC 76 ms
71,424 KB
testcase_18 AC 75 ms
71,632 KB
testcase_19 AC 75 ms
71,288 KB
testcase_20 AC 75 ms
71,400 KB
testcase_21 AC 74 ms
71,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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