結果

問題 No.9010 うるう年判定
ユーザー ohanaohana
提出日時 2023-09-25 16:46:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 132 bytes
コンパイル時間 359 ms
コンパイル使用メモリ 87,100 KB
実行使用メモリ 71,552 KB
最終ジャッジ日時 2023-09-25 16:46:13
合計ジャッジ時間 4,486 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,240 KB
testcase_01 AC 78 ms
71,484 KB
testcase_02 AC 78 ms
71,356 KB
testcase_03 AC 76 ms
70,992 KB
testcase_04 AC 78 ms
71,432 KB
testcase_05 AC 76 ms
71,548 KB
testcase_06 AC 77 ms
71,508 KB
testcase_07 AC 77 ms
71,184 KB
testcase_08 AC 76 ms
71,128 KB
testcase_09 AC 74 ms
71,000 KB
testcase_10 AC 77 ms
71,180 KB
testcase_11 AC 76 ms
71,464 KB
testcase_12 AC 79 ms
71,244 KB
testcase_13 AC 76 ms
71,412 KB
testcase_14 AC 78 ms
71,432 KB
testcase_15 AC 78 ms
71,372 KB
testcase_16 AC 78 ms
70,996 KB
testcase_17 AC 78 ms
71,552 KB
testcase_18 AC 76 ms
70,952 KB
testcase_19 AC 76 ms
71,492 KB
testcase_20 AC 78 ms
71,452 KB
testcase_21 AC 78 ms
71,196 KB
testcase_22 AC 76 ms
71,448 KB
testcase_23 AC 78 ms
70,996 KB
testcase_24 AC 78 ms
71,276 KB
testcase_25 AC 79 ms
71,140 KB
testcase_26 AC 77 ms
70,996 KB
testcase_27 AC 78 ms
71,140 KB
testcase_28 AC 81 ms
71,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = "No"
if not n % 4:
    ans = "Yes"
if not n % 100:
    ans = "No"
if not n % 400:
    ans = "Yes"
print(ans)
0