結果

問題 No.779 Heisei
ユーザー StarMatyan
提出日時 2019-01-12 21:28:21
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 357 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-23 09:23:53
合計ジャッジ時間 1,761 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22 WA * 1
権限があれば一括ダウンロードができます

ソースコード

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