結果

問題 No.779 Heisei
ユーザー B9syDOfYhHFXecu
提出日時 2019-02-27 15:58:54
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 49 ms / 1,000 ms
コード長 303 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 12,668 KB
最終ジャッジ日時 2024-11-06 05:16:52
合計ジャッジ時間 1,997 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime
date = datetime.datetime.strptime('/'.join([x for x in input().split(' ')]), '%Y/%m/%d')
s_period = datetime.datetime.strptime('1989/1/8', '%Y/%m/%d')
e_period = datetime.datetime.strptime('2019/04/30', '%Y/%m/%d')

if s_period <= date <= e_period:
    print('Yes')
else:
    print('No')
0