結果

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

ソースコード

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 b<=4:
        print("Yes")
    else:
        print("No")
else:
    print("No")
0