結果
| 問題 |
No.779 Heisei
|
| コンテスト | |
| ユーザー |
kaiman
|
| 提出日時 | 2019-01-26 15:19:12 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 1,000 ms |
| コード長 | 275 bytes |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-06 04:09:24 |
| 合計ジャッジ時間 | 1,615 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
inp = input()
split_first = inp.split(' ')
Y = int(split_first[0])
M = int(split_first[1])
D = int(split_first[2])
if (Y < 1989) or (2019 < Y):
print('No')
elif(Y==1989) and(M==1) and (D<8):
print('No')
elif(Y==2019) and (4<M):
print('No')
else:
print('Yes')
kaiman