結果

問題 No.9010 うるう年判定
ユーザー ぬん
提出日時 2025-02-05 14:47:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 479 ms
コンパイル使用メモリ 82,684 KB
実行使用メモリ 51,968 KB
最終ジャッジ日時 2025-02-05 14:47:09
合計ジャッジ時間 3,360 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

x = int(input())
leap = "Yes"
common = "No"
if x % 400 == 0:
	print(leap)
elif x % 100 == 0:
	print(common)
elif x % 4 == 0:
	print(leap)
else:
	print(common)
0