結果

問題 No.779 Heisei
ユーザー nisshimonisshimo
提出日時 2019-01-17 19:53:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 251 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,556 KB
実行使用メモリ 7,996 KB
最終ジャッジ日時 2023-09-14 02:04:49
合計ジャッジ時間 1,477 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,796 KB
testcase_02 AC 16 ms
7,952 KB
testcase_03 AC 16 ms
7,896 KB
testcase_04 AC 16 ms
7,876 KB
testcase_05 WA -
testcase_06 AC 16 ms
7,832 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 16 ms
7,788 KB
testcase_10 AC 16 ms
7,888 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 16 ms
7,880 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 16 ms
7,884 KB
testcase_18 AC 16 ms
7,764 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a =input().split()
y = a[0]
m = a[1]
d = a[2]

def double(n):
    if len(n)==1:
        return "0"+n
    else:
        return n

m = double(m)
d = double(d)

judge = int(y + m + d)

if 19691231<=judge<=20380120:
    print("Yes")
else:
    print("No")
0