結果

問題 No.779 Heisei
ユーザー liny_tail
提出日時 2020-08-10 17:58:25
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 45 ms / 1,000 ms
コード長 287 bytes
コンパイル時間 183 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 12,532 KB
最終ジャッジ日時 2024-10-08 03:01:50
合計ジャッジ時間 2,181 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime

s = datetime.datetime.strptime('1989/01/08', '%Y/%m/%d')
e = datetime.datetime.strptime('2019/04/30', '%Y/%m/%d')

ymd = '/'.join([i for i in input().strip().split(' ')])
ymd = datetime.datetime.strptime(ymd, '%Y/%m/%d')

print('Yes' if s <= ymd and ymd <= e else 'No')
0