結果
| 問題 |
No.2655 Increasing Strides
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-01 21:25:28 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 185 bytes |
| コンパイル時間 | 150 ms |
| コンパイル使用メモリ | 82,140 KB |
| 実行使用メモリ | 59,528 KB |
| 最終ジャッジ日時 | 2024-09-29 13:27:59 |
| 合計ジャッジ時間 | 2,513 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")