結果

問題 No.779 Heisei
ユーザー kozy
提出日時 2020-07-26 15:04:55
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 286 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-28 16:10:30
合計ジャッジ時間 1,615 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c=map(int,input().split())
if 1989<a<2019:
    print("Yes")
elif a==1989:
    if 2<=b:
        print("Yes")
    elif b==1 and 8<=c:
        print("Yes")
    else:
        print("No")
elif a==2019:
    if a<=4:
        print("Yes")
    else:
        print("No")
else:
    print("No")
0