結果

問題 No.779 Heisei
ユーザー kekenx
提出日時 2020-06-13 20:27:47
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 349 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-06-25 20:12:51
合計ジャッジ時間 2,041 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

y, m, d = list(map(int, input().split()))

start = datetime.datetime(1989, 1, 8)
end = datetime.datetime(2019, 4, 30)

cur = datetime.datetime(y, m, d)

if start <= cur <= end:
    print("Yes")
else:
    print("No")
0