結果
| 問題 | No.2655 Increasing Strides |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-01 21:25:28 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 185 bytes |
| 記録 | |
| コンパイル時間 | 303 ms |
| コンパイル使用メモリ | 85,080 KB |
| 実行使用メモリ | 59,396 KB |
| 最終ジャッジ日時 | 2026-04-15 22:13:35 |
| 合計ジャッジ時間 | 2,665 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 28 WA * 6 |
ソースコード
N = int(input())
A = list(range(1, N + 1, 2))
B = list(range(2, N + 1, 2))
if sum(A) % 2 or len(A) <= 2:
exit(print("No"))
if sum(B) % 2 or len(B) <= 2:
exit(print("No"))
print("Yes")