結果

問題 No.779 Heisei
ユーザー iNoma87976671iNoma87976671
提出日時 2019-03-19 00:09:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 17 ms / 1,000 ms
コード長 258 bytes
コンパイル時間 90 ms
コンパイル使用メモリ 10,724 KB
実行使用メモリ 8,872 KB
最終ジャッジ日時 2023-08-06 02:30:43
合計ジャッジ時間 1,436 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,844 KB
testcase_01 AC 17 ms
8,804 KB
testcase_02 AC 16 ms
8,744 KB
testcase_03 AC 17 ms
8,764 KB
testcase_04 AC 16 ms
8,840 KB
testcase_05 AC 17 ms
8,712 KB
testcase_06 AC 15 ms
8,820 KB
testcase_07 AC 17 ms
8,768 KB
testcase_08 AC 16 ms
8,676 KB
testcase_09 AC 16 ms
8,684 KB
testcase_10 AC 15 ms
8,840 KB
testcase_11 AC 17 ms
8,816 KB
testcase_12 AC 16 ms
8,736 KB
testcase_13 AC 17 ms
8,744 KB
testcase_14 AC 17 ms
8,748 KB
testcase_15 AC 16 ms
8,804 KB
testcase_16 AC 17 ms
8,840 KB
testcase_17 AC 16 ms
8,728 KB
testcase_18 AC 15 ms
8,772 KB
testcase_19 AC 16 ms
8,804 KB
testcase_20 AC 15 ms
8,776 KB
testcase_21 AC 17 ms
8,772 KB
testcase_22 AC 15 ms
8,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime
Y,M,D = map(int,input().split())
startday = datetime.datetime(1989,1,8)
lastday = datetime.datetime(2019,4,30)
theday = datetime.datetime(Y,M,D)
if (startday <= theday) and (theday <= lastday):
    ans = "Yes"
else:
    ans = "No"
print(ans)
0