結果
問題 | No.2371 最大の試練それは起床 |
ユーザー |
|
提出日時 | 2023-07-07 21:22:38 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 61 ms / 2,000 ms |
コード長 | 1,172 bytes |
コンパイル時間 | 141 ms |
コンパイル使用メモリ | 82,528 KB |
実行使用メモリ | 67,968 KB |
最終ジャッジ日時 | 2024-07-21 17:02:11 |
合計ジャッジ時間 | 2,252 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 |
ソースコード
#!/usr/bin/env python3import sysfrom bisect import bisect_left, bisect_right, insort_left, insort_right # type: ignorefrom collections import Counter, defaultdict, deque # type: ignorefrom math import gcd, sqrt, ceil # type: ignorefrom heapq import heapify, heappop, heappush, heappushpop, heapreplace, merge # type: ignorefrom itertools import accumulate, combinations, permutations, product # type: ignorefrom string import ascii_lowercase, ascii_uppercase # type: ignoredef LI(): return list(map(int, sys.stdin.buffer.readline().split()))def I(): return int(sys.stdin.buffer.readline())def LS(): return sys.stdin.buffer.readline().rstrip().decode("utf-8").split()def S(): return sys.stdin.buffer.readline().rstrip().decode("utf-8")def IR(n): return [I() for _ in range(n)]def LIR(n): return [LI() for _ in range(n)]def SR(n): return [S() for _ in range(n)]def LSR(n): return [LS() for _ in range(n)]def SRL(n): return [list(S()) for _ in range(n)]from datetime import datetimeH,M = LI()up = datetime(2023,7,7,H,M,30)if up<datetime(2023,7,7,7,30,0):print('Yes')elif up<datetime(2023,7,7,8,30,0):print('Late')else:print('No')