結果

問題 No.779 Heisei
ユーザー bellangeldindon
提出日時 2019-04-26 13:36:49
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 1,000 ms
コード長 242 bytes
コンパイル時間 675 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-06 05:44:49
合計ジャッジ時間 1,731 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

Y, M, D = map(int, raw_input().split())
if Y < 1989 or 2019 < Y: print "No"
elif Y == 1989:
	if M == 1:
		if D < 8: print "No"
		else: print "Yes"
	else:
		print "Yes"
elif Y == 2019:
	if M > 4: print "No"
	else: print "Yes"
else: print "Yes"
0