結果

問題 No.779 Heisei
ユーザー liny_tailliny_tail
提出日時 2020-08-10 17:58:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 46 ms / 1,000 ms
コード長 287 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 12,664 KB
最終ジャッジ日時 2024-04-16 22:03:08
合計ジャッジ時間 2,173 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
12,660 KB
testcase_01 AC 44 ms
12,660 KB
testcase_02 AC 45 ms
12,660 KB
testcase_03 AC 44 ms
12,536 KB
testcase_04 AC 45 ms
12,664 KB
testcase_05 AC 44 ms
12,664 KB
testcase_06 AC 45 ms
12,544 KB
testcase_07 AC 45 ms
12,664 KB
testcase_08 AC 45 ms
12,664 KB
testcase_09 AC 45 ms
12,544 KB
testcase_10 AC 45 ms
12,540 KB
testcase_11 AC 45 ms
12,536 KB
testcase_12 AC 45 ms
12,544 KB
testcase_13 AC 45 ms
12,660 KB
testcase_14 AC 45 ms
12,660 KB
testcase_15 AC 44 ms
12,544 KB
testcase_16 AC 45 ms
12,664 KB
testcase_17 AC 45 ms
12,660 KB
testcase_18 AC 46 ms
12,536 KB
testcase_19 AC 44 ms
12,536 KB
testcase_20 AC 44 ms
12,540 KB
testcase_21 AC 44 ms
12,664 KB
testcase_22 AC 44 ms
12,660 KB
権限があれば一括ダウンロードができます

ソースコード

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