結果

問題 No.779 Heisei
ユーザー B9syDOfYhHFXecuB9syDOfYhHFXecu
提出日時 2019-02-27 15:57:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 305 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 10,548 KB
実行使用メモリ 9,856 KB
最終ジャッジ日時 2023-09-05 09:18:57
合計ジャッジ時間 2,215 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
9,744 KB
testcase_01 AC 29 ms
9,812 KB
testcase_02 AC 29 ms
9,664 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 29 ms
9,780 KB
testcase_06 WA -
testcase_07 AC 29 ms
9,756 KB
testcase_08 AC 29 ms
9,596 KB
testcase_09 AC 28 ms
9,672 KB
testcase_10 AC 29 ms
9,788 KB
testcase_11 AC 29 ms
9,708 KB
testcase_12 AC 28 ms
9,816 KB
testcase_13 AC 28 ms
9,732 KB
testcase_14 AC 29 ms
9,612 KB
testcase_15 AC 29 ms
9,780 KB
testcase_16 AC 29 ms
9,788 KB
testcase_17 WA -
testcase_18 AC 28 ms
9,784 KB
testcase_19 AC 29 ms
9,812 KB
testcase_20 AC 29 ms
9,768 KB
testcase_21 AC 29 ms
9,716 KB
testcase_22 AC 28 ms
9,684 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime
date = datetime.datetime.strptime('/'.join([x for x in input().split(' ')]), '%Y/%m/%d')
s_period = datetime.datetime.strptime('1989/12/31', '%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