結果

問題 No.9010 うるう年判定
ユーザー zimphazimpha
提出日時 2017-12-10 23:54:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 88 bytes
コンパイル時間 473 ms
コンパイル使用メモリ 87,308 KB
実行使用メモリ 71,672 KB
最終ジャッジ日時 2023-09-04 01:03:18
合計ジャッジ時間 5,117 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
71,400 KB
testcase_01 AC 103 ms
71,404 KB
testcase_02 AC 97 ms
71,640 KB
testcase_03 AC 98 ms
71,444 KB
testcase_04 AC 103 ms
71,156 KB
testcase_05 AC 114 ms
71,320 KB
testcase_06 AC 105 ms
71,204 KB
testcase_07 AC 92 ms
71,328 KB
testcase_08 AC 103 ms
71,412 KB
testcase_09 AC 90 ms
71,464 KB
testcase_10 AC 97 ms
71,612 KB
testcase_11 AC 84 ms
71,304 KB
testcase_12 AC 87 ms
71,524 KB
testcase_13 AC 93 ms
71,620 KB
testcase_14 AC 81 ms
71,396 KB
testcase_15 AC 73 ms
71,472 KB
testcase_16 AC 73 ms
71,312 KB
testcase_17 AC 74 ms
71,320 KB
testcase_18 AC 73 ms
71,320 KB
testcase_19 AC 74 ms
71,640 KB
testcase_20 AC 75 ms
71,404 KB
testcase_21 AC 75 ms
71,156 KB
testcase_22 AC 75 ms
71,672 KB
testcase_23 AC 74 ms
71,400 KB
testcase_24 AC 80 ms
71,164 KB
testcase_25 AC 74 ms
71,316 KB
testcase_26 AC 79 ms
71,512 KB
testcase_27 AC 89 ms
71,364 KB
testcase_28 AC 74 ms
71,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
print('Yes' if (n % 4 == 0 and n % 100 != 0) or n % 400 == 0 else 'No')
0