結果

問題 No.2371 最大の試練それは起床
ユーザー toshiro_yanagi
提出日時 2025-03-30 17:38:39
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 316 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 12,032 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2025-03-30 17:38:41
合計ジャッジ時間 1,900 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

def fun(h, m):
    flg = None
    m = h * 60 + m
    S = 7 * 60 + 30
    E = 8 * 60 + 30

    if m < S:
        flg = True
    if m >= E:
        flg = False

    if flg:
        return "Yes"
    if flg is None:
        return "Late"
    else:
        return "No"


h, m = map(int, input().split())
print(fun(h, m))
0