結果

問題 No.2371 最大の試練それは起床
ユーザー rlangevinrlangevin
提出日時 2023-07-07 21:22:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 87,296 KB
実行使用メモリ 71,556 KB
最終ジャッジ日時 2023-09-28 22:17:44
合計ジャッジ時間 2,790 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,448 KB
testcase_01 AC 70 ms
71,424 KB
testcase_02 AC 68 ms
71,452 KB
testcase_03 AC 67 ms
71,120 KB
testcase_04 AC 72 ms
71,264 KB
testcase_05 AC 68 ms
71,424 KB
testcase_06 AC 66 ms
71,204 KB
testcase_07 AC 69 ms
71,300 KB
testcase_08 AC 68 ms
71,400 KB
testcase_09 AC 69 ms
71,308 KB
testcase_10 AC 69 ms
71,548 KB
testcase_11 AC 74 ms
71,556 KB
testcase_12 AC 70 ms
71,264 KB
testcase_13 AC 68 ms
71,276 KB
testcase_14 AC 69 ms
71,264 KB
testcase_15 AC 68 ms
71,048 KB
testcase_16 AC 69 ms
71,296 KB
testcase_17 AC 68 ms
71,436 KB
testcase_18 AC 68 ms
71,436 KB
testcase_19 AC 67 ms
71,220 KB
testcase_20 AC 66 ms
71,300 KB
testcase_21 AC 69 ms
71,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def f(h, m):
    return h * 60 + m

H, M = map(int, input().split())
now = f(H, M) + 0.5
if now < f(7, 30):
    print("Yes")
elif f(7, 30) < now < f(8, 30):
    print("Late")
else:
    print("No")
0