結果

問題 No.779 Heisei
ユーザー GrayCoderGrayCoder
提出日時 2019-01-11 21:35:28
言語 Python3
(3.10.1 + numpy 1.22.3 + scipy 1.8.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 292 bytes
コンパイル時間 65 ms
使用メモリ 9,760 KB
最終ジャッジ日時 2023-03-01 05:09:36
合計ジャッジ時間 1,361 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 12 ms
9,692 KB
testcase_01 AC 13 ms
9,632 KB
testcase_02 AC 12 ms
7,756 KB
testcase_03 AC 14 ms
7,596 KB
testcase_04 AC 13 ms
9,704 KB
testcase_05 AC 12 ms
7,684 KB
testcase_06 WA -
testcase_07 AC 14 ms
9,716 KB
testcase_08 AC 13 ms
9,748 KB
testcase_09 AC 13 ms
7,768 KB
testcase_10 AC 12 ms
7,764 KB
testcase_11 AC 12 ms
7,684 KB
testcase_12 AC 13 ms
7,668 KB
testcase_13 WA -
testcase_14 AC 13 ms
9,760 KB
testcase_15 AC 13 ms
7,688 KB
testcase_16 AC 13 ms
7,756 KB
testcase_17 AC 13 ms
7,656 KB
testcase_18 AC 12 ms
9,712 KB
testcase_19 AC 13 ms
7,676 KB
testcase_20 AC 13 ms
7,708 KB
testcase_21 AC 13 ms
7,588 KB
testcase_22 AC 13 ms
7,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from sys import stdin

def main():
    Y, M, D = map(int, input().split())

    if any((1989 < Y < 2019,
            Y == 1989 and D >= 8,
            Y == 2019 and M <= 4 and D <= 30)):
        ans = 'Yes'
    else:
        ans = 'No'
    print(ans)

input = lambda: stdin.readline()
main()
0