結果

問題 No.2371 最大の試練それは起床
ユーザー dangodango
提出日時 2023-07-07 21:24:28
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 326 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 87,104 KB
実行使用メモリ 71,488 KB
最終ジャッジ日時 2023-09-28 22:19:58
合計ジャッジ時間 2,964 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,292 KB
testcase_01 AC 73 ms
71,268 KB
testcase_02 AC 73 ms
71,200 KB
testcase_03 AC 73 ms
71,336 KB
testcase_04 AC 72 ms
71,224 KB
testcase_05 AC 73 ms
71,396 KB
testcase_06 AC 74 ms
71,248 KB
testcase_07 AC 74 ms
71,292 KB
testcase_08 AC 74 ms
71,292 KB
testcase_09 AC 72 ms
71,424 KB
testcase_10 AC 76 ms
71,224 KB
testcase_11 AC 74 ms
71,284 KB
testcase_12 AC 73 ms
71,352 KB
testcase_13 AC 75 ms
71,292 KB
testcase_14 AC 74 ms
71,288 KB
testcase_15 WA -
testcase_16 AC 73 ms
71,488 KB
testcase_17 AC 73 ms
71,272 KB
testcase_18 AC 73 ms
71,332 KB
testcase_19 AC 75 ms
71,060 KB
testcase_20 AC 73 ms
71,300 KB
testcase_21 AC 74 ms
71,336 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("Late")
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