結果
| 問題 |
No.1528 Not 1
|
| コンテスト | |
| ユーザー |
hir355
|
| 提出日時 | 2021-06-04 20:35:59 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 224 bytes |
| コンパイル時間 | 331 ms |
| コンパイル使用メモリ | 82,296 KB |
| 実行使用メモリ | 81,496 KB |
| 最終ジャッジ日時 | 2024-11-19 09:38:21 |
| 合計ジャッジ時間 | 2,864 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 17 WA * 2 |
ソースコード
n = int(input())
if n == 3 or n == 5:
print(-1)
m = (n + 1) // 2
if m == 1:
print(1)
elif m == 2:
print(2, 4)
elif m == 3:
print(2, 4, 6)
else:
print(*([3, 6, 2, 4] + [(i + 4) * 2 for i in range(m - 4)]))
hir355