結果

問題 No.9010 うるう年判定
ユーザー marcypymarcypy
提出日時 2022-05-14 09:32:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 123 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 10,644 KB
実行使用メモリ 7,952 KB
最終ジャッジ日時 2023-09-29 23:23:01
合計ジャッジ時間 1,622 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,784 KB
testcase_01 WA -
testcase_02 AC 12 ms
7,944 KB
testcase_03 AC 12 ms
7,904 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 13 ms
7,772 KB
testcase_07 WA -
testcase_08 AC 12 ms
7,928 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 12 ms
7,856 KB
testcase_12 WA -
testcase_13 AC 13 ms
7,788 KB
testcase_14 WA -
testcase_15 AC 13 ms
7,872 KB
testcase_16 AC 13 ms
7,820 KB
testcase_17 AC 12 ms
7,872 KB
testcase_18 WA -
testcase_19 AC 13 ms
7,836 KB
testcase_20 AC 12 ms
7,876 KB
testcase_21 AC 16 ms
7,876 KB
testcase_22 AC 13 ms
7,804 KB
testcase_23 AC 13 ms
7,780 KB
testcase_24 WA -
testcase_25 AC 13 ms
7,840 KB
testcase_26 WA -
testcase_27 AC 12 ms
7,924 KB
testcase_28 AC 13 ms
7,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
ans='Yes'
if n%4==0:
    if n%400==0:
        pass
    else:
        ans='No'
else:
    ans='No'
print(ans)
0