結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,196 KB
testcase_01 AC 73 ms
71,224 KB
testcase_02 AC 74 ms
71,368 KB
testcase_03 AC 74 ms
71,324 KB
testcase_04 AC 74 ms
71,468 KB
testcase_05 AC 74 ms
71,280 KB
testcase_06 AC 74 ms
71,436 KB
testcase_07 AC 75 ms
71,064 KB
testcase_08 AC 74 ms
71,608 KB
testcase_09 AC 74 ms
71,220 KB
testcase_10 AC 74 ms
71,064 KB
testcase_11 AC 75 ms
71,248 KB
testcase_12 AC 75 ms
71,472 KB
testcase_13 AC 75 ms
71,068 KB
testcase_14 AC 73 ms
71,392 KB
testcase_15 AC 74 ms
71,392 KB
testcase_16 AC 74 ms
71,236 KB
testcase_17 AC 74 ms
71,064 KB
testcase_18 AC 73 ms
71,432 KB
testcase_19 AC 73 ms
71,404 KB
testcase_20 AC 74 ms
71,328 KB
testcase_21 AC 72 ms
71,536 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

#print(24*60*60)

for i in range(7):
    for j in range(60):
        if i == H and j == M:
            print("Yes")
            exit()

if H == 7:
    for j in range(30):
        if j == M:
            print("Yes")
            exit()

if H == 7:
    for j in range(30,60):
        if j == M:
            print("Late")
            exit()

if H == 8:
    for j in range(30):
        if j == M:
            print("Late")
            exit()

print("No")
0