結果

問題 No.779 Heisei
ユーザー kaimankaiman
提出日時 2019-01-26 14:16:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 454 bytes
コンパイル時間 713 ms
コンパイル使用メモリ 10,884 KB
実行使用メモリ 7,940 KB
最終ジャッジ日時 2023-10-14 10:11:22
合計ジャッジ時間 2,079 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,928 KB
testcase_01 AC 16 ms
7,864 KB
testcase_02 AC 15 ms
7,940 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 16 ms
7,804 KB
testcase_06 WA -
testcase_07 AC 16 ms
7,820 KB
testcase_08 AC 16 ms
7,820 KB
testcase_09 AC 16 ms
7,784 KB
testcase_10 AC 16 ms
7,784 KB
testcase_11 AC 16 ms
7,820 KB
testcase_12 AC 16 ms
7,804 KB
testcase_13 WA -
testcase_14 AC 16 ms
7,824 KB
testcase_15 AC 15 ms
7,812 KB
testcase_16 AC 15 ms
7,864 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 15 ms
7,788 KB
testcase_20 AC 15 ms
7,744 KB
testcase_21 AC 15 ms
7,800 KB
testcase_22 AC 15 ms
7,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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