結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,588 KB
testcase_01 AC 72 ms
71,668 KB
testcase_02 AC 70 ms
71,428 KB
testcase_03 AC 69 ms
71,288 KB
testcase_04 AC 67 ms
71,376 KB
testcase_05 AC 68 ms
71,552 KB
testcase_06 AC 68 ms
71,384 KB
testcase_07 WA -
testcase_08 AC 68 ms
71,576 KB
testcase_09 AC 73 ms
71,460 KB
testcase_10 AC 67 ms
71,480 KB
testcase_11 AC 70 ms
71,532 KB
testcase_12 AC 68 ms
71,280 KB
testcase_13 AC 69 ms
71,404 KB
testcase_14 WA -
testcase_15 AC 69 ms
71,512 KB
testcase_16 WA -
testcase_17 AC 68 ms
71,592 KB
testcase_18 AC 67 ms
71,592 KB
testcase_19 AC 69 ms
71,432 KB
testcase_20 AC 66 ms
71,376 KB
testcase_21 AC 66 ms
71,592 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def judge_wakeup_time(H, M):
    wakeup_time = H * 60 + M + 30
    start_time = 7 * 60 + 30
    end_time = 8 * 60 + 30

    if wakeup_time < start_time:
        return "Yes"
    elif start_time <= wakeup_time <= end_time:
        return "Late"
    else:
        return "No"


H, M = map(int, input().split())

result = judge_wakeup_time(H, M)
print(result)
0