結果

問題 No.9010 うるう年判定
ユーザー Fullmoon85072Fullmoon85072
提出日時 2021-10-26 00:28:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 239 ms
コンパイル使用メモリ 82,208 KB
実行使用メモリ 53,816 KB
最終ジャッジ日時 2024-04-14 21:07:49
合計ジャッジ時間 2,655 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,348 KB
testcase_01 AC 37 ms
52,276 KB
testcase_02 AC 38 ms
52,120 KB
testcase_03 AC 39 ms
51,628 KB
testcase_04 AC 38 ms
53,632 KB
testcase_05 AC 37 ms
52,416 KB
testcase_06 AC 38 ms
52,856 KB
testcase_07 AC 37 ms
52,624 KB
testcase_08 AC 36 ms
52,492 KB
testcase_09 AC 37 ms
52,736 KB
testcase_10 AC 37 ms
53,700 KB
testcase_11 AC 37 ms
52,352 KB
testcase_12 AC 36 ms
52,512 KB
testcase_13 AC 37 ms
52,620 KB
testcase_14 AC 37 ms
52,580 KB
testcase_15 AC 37 ms
52,976 KB
testcase_16 AC 37 ms
51,760 KB
testcase_17 AC 36 ms
52,072 KB
testcase_18 AC 36 ms
52,964 KB
testcase_19 AC 36 ms
52,576 KB
testcase_20 AC 37 ms
52,344 KB
testcase_21 AC 37 ms
52,088 KB
testcase_22 AC 37 ms
52,508 KB
testcase_23 AC 36 ms
53,248 KB
testcase_24 AC 37 ms
53,816 KB
testcase_25 AC 36 ms
52,088 KB
testcase_26 AC 36 ms
52,632 KB
testcase_27 AC 37 ms
51,940 KB
testcase_28 AC 37 ms
52,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

line = int(input())

if line % 4 == 0:
    if line % 100 == 0 and line % 400 != 0:
        print("No")
    else:
        print("Yes")
else:
    print("No")
0