結果

問題 No.779 Heisei
ユーザー StarMatyanStarMatyan
提出日時 2019-01-12 21:28:21
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 357 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 7,996 KB
最終ジャッジ日時 2023-08-24 22:57:34
合計ジャッジ時間 1,641 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,940 KB
testcase_02 AC 15 ms
7,816 KB
testcase_03 AC 16 ms
7,856 KB
testcase_04 AC 16 ms
7,896 KB
testcase_05 AC 15 ms
7,828 KB
testcase_06 AC 16 ms
7,840 KB
testcase_07 AC 16 ms
7,848 KB
testcase_08 AC 16 ms
7,800 KB
testcase_09 AC 16 ms
7,752 KB
testcase_10 AC 16 ms
7,812 KB
testcase_11 AC 16 ms
7,792 KB
testcase_12 AC 16 ms
7,848 KB
testcase_13 AC 16 ms
7,948 KB
testcase_14 AC 16 ms
7,896 KB
testcase_15 AC 16 ms
7,844 KB
testcase_16 AC 16 ms
7,812 KB
testcase_17 AC 16 ms
7,820 KB
testcase_18 AC 16 ms
7,808 KB
testcase_19 AC 15 ms
7,996 KB
testcase_20 AC 15 ms
7,804 KB
testcase_21 AC 15 ms
7,736 KB
testcase_22 AC 15 ms
7,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

firstdata = input()
secdata = firstdata.split(" ")

year_d = int(secdata[0])
month_d = int(secdata[1])
day_d = int(secdata[2])

result = ""

if year_d > 2020 or year_d < 1989:
	result = "No"
else:
	if year_d == 1989 and month_d ==1 and day_d <= 7:
		result = "No"
	elif year_d == 2019 and month_d >=5:
		result = "No"
	else:
		result = "Yes"


print(result)
0