結果

問題 No.779 Heisei
コンテスト
ユーザー kaiman
提出日時 2019-01-26 14:24:41
言語 Python3
(3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ac-library)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
WA  
実行時間 -
コード長 454 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 283 ms
コンパイル使用メモリ 21,536 KB
実行使用メモリ 15,996 KB
最終ジャッジ日時 2026-08-28 12:40:58
合計ジャッジ時間 3,775 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 17 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

inp = input()
split_first = inp.split(' ')
Y = int(split_first[0])
M = int(split_first[0])
D = int(split_first[0])


def hantei(Y,M,D):
    if (1989<Y and Y<2019):
        print('Yes')
    elif (Y==1984 and 1<M):
        print('Yes')
    elif (Y==1984 and M==1 and 8<=D):
        print('Yes')
    elif (Y==2019 and M<4):
        print('Yes')
    elif (Y==2019 and M==4 and D<=30):
        print('Yes')
    else:
        print('No')
        
hantei(Y,M,D)
0