結果
| 問題 |
No.779 Heisei
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-15 21:32:24 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 292 bytes |
| コンパイル時間 | 91 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-12-17 15:17:56 |
| 合計ジャッジ時間 | 1,752 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 WA * 4 |
ソースコード
Y,M,D= map(int,input().split())
if Y<1989 or 2019<Y:
print("No")
if 1990<Y<2018:
print("Yes")
if Y==1989:
if M==1 and D<8:
print("No")
if M==1 and D>=8:
print("Yes")
if Y==2019:
if M<=4:
print("Yes")
else:
print("No")