結果

問題 No.9010 うるう年判定
ユーザー dmasupro
提出日時 2023-02-17 23:56:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 129 bytes
コンパイル時間 367 ms
コンパイル使用メモリ 82,148 KB
実行使用メモリ 53,688 KB
最終ジャッジ日時 2024-07-19 15:02:11
合計ジャッジ時間 2,463 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

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