結果

問題 No.779 Heisei
ユーザー StarMatyan
提出日時 2019-03-16 22:13:13
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 421 bytes
コンパイル時間 317 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-11-06 05:19:14
合計ジャッジ時間 1,662 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

first = input();
firstdata= first.split(" ");

year_data = int(firstdata[0]);
month_data = int(firstdata[1]);
day_data = int(firstdata[2]);
result = "";

if year_data >= 1989 and year_data < 2019:
	if year_data == 1989 and month_data ==1 and day_data <= 7:
		result= "No";
	else:
		result = "Yes";
elif year_data == 2019:
	if month_data < 5:
		result = "Yes";
	else:
		result = "No";
else:
	result = "No";

print(result);
0