結果

問題 No.9010 うるう年判定
ユーザー ohanaohana
提出日時 2023-09-25 16:45:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 134 bytes
コンパイル時間 394 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 71,676 KB
最終ジャッジ日時 2023-09-25 16:45:19
合計ジャッジ時間 4,575 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 72 ms
71,236 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 71 ms
70,860 KB
testcase_05 AC 77 ms
71,076 KB
testcase_06 WA -
testcase_07 AC 74 ms
71,048 KB
testcase_08 WA -
testcase_09 AC 74 ms
71,144 KB
testcase_10 AC 73 ms
71,204 KB
testcase_11 WA -
testcase_12 AC 71 ms
71,284 KB
testcase_13 WA -
testcase_14 AC 73 ms
71,420 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 70 ms
70,944 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 71 ms
70,860 KB
testcase_25 WA -
testcase_26 AC 72 ms
71,088 KB
testcase_27 WA -
testcase_28 AC 71 ms
71,232 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("Yes")
0