結果

問題 No.779 Heisei
ユーザー chun1182
提出日時 2019-01-11 21:41:36
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 178 bytes
コンパイル時間 241 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-30 05:10:05
合計ジャッジ時間 1,931 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 19 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

y,m,d=map(int, input().split())
ans='No'
if 1989<y<2019:ans='Yes'
elif y==1989:
    if m>1:ans='Yes'
    else:
        if d>=8:ans='Yes'
elif y==2019 and d<5:ans='Yes'
print(ans)
0