結果
問題 | No.2371 最大の試練それは起床 |
ユーザー | 21kazu13 |
提出日時 | 2023-07-07 21:22:38 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 171 ms / 2,000 ms |
コード長 | 1,172 bytes |
コンパイル時間 | 298 ms |
コンパイル使用メモリ | 86,972 KB |
実行使用メモリ | 78,620 KB |
最終ジャッジ日時 | 2023-09-28 22:17:10 |
合計ジャッジ時間 | 5,205 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 166 ms
78,428 KB |
testcase_01 | AC | 168 ms
78,456 KB |
testcase_02 | AC | 164 ms
78,620 KB |
testcase_03 | AC | 168 ms
78,344 KB |
testcase_04 | AC | 167 ms
78,528 KB |
testcase_05 | AC | 167 ms
78,452 KB |
testcase_06 | AC | 170 ms
78,440 KB |
testcase_07 | AC | 168 ms
78,520 KB |
testcase_08 | AC | 171 ms
78,348 KB |
testcase_09 | AC | 170 ms
78,532 KB |
testcase_10 | AC | 168 ms
78,532 KB |
testcase_11 | AC | 165 ms
78,496 KB |
testcase_12 | AC | 163 ms
78,560 KB |
testcase_13 | AC | 163 ms
78,520 KB |
testcase_14 | AC | 164 ms
78,444 KB |
testcase_15 | AC | 169 ms
78,424 KB |
testcase_16 | AC | 162 ms
78,356 KB |
testcase_17 | AC | 165 ms
78,436 KB |
testcase_18 | AC | 165 ms
78,528 KB |
testcase_19 | AC | 166 ms
78,568 KB |
testcase_20 | AC | 164 ms
78,340 KB |
testcase_21 | AC | 164 ms
78,332 KB |
ソースコード
#!/usr/bin/env python3 import sys from bisect import bisect_left, bisect_right, insort_left, insort_right # type: ignore from collections import Counter, defaultdict, deque # type: ignore from math import gcd, sqrt, ceil # type: ignore from heapq import heapify, heappop, heappush, heappushpop, heapreplace, merge # type: ignore from itertools import accumulate, combinations, permutations, product # type: ignore from string import ascii_lowercase, ascii_uppercase # type: ignore def 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 datetime H,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')