結果
| 問題 | No.9010 うるう年判定 |
| ユーザー |
|
| 提出日時 | 2020-04-28 11:40:19 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 2,000 ms |
| + 446µs | |
| コード長 | 229 bytes |
| 記録 | |
| コンパイル時間 | 288 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 15,992 KB |
| 最終ジャッジ日時 | 2026-07-26 17:03:46 |
| 合計ジャッジ時間 | 4,591 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 |
ソースコード
n = int(input())
result = ""
if n % 4 == 0:
if n % 100 == 0:
if n % 400 == 0:
result = "Yes"
else:
result = "No"
else:
result = "Yes"
else:
result = "No"
print(result)