結果

問題 No.779 Heisei
ユーザー ABKZ
提出日時 2021-08-09 21:58:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 1,000 ms
コード長 197 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-09-21 21:09:32
合計ジャッジ時間 1,771 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

Y, M, D = map(int, input().split())

if (Y < 2019 and Y > 1989 or
    Y == 1989 and M > 1 or
    Y == 1989 and M == 1 and D > 7 or
    Y == 2019 and M <= 4):
    print("Yes")
else:
    print("No")
0