結果
| 問題 | No.1528 Not 1 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-11 20:37:31 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 43 ms / 2,000 ms |
| コード長 | 272 bytes |
| 記録 | |
| コンパイル時間 | 259 ms |
| コンパイル使用メモリ | 85,472 KB |
| 実行使用メモリ | 85,120 KB |
| 最終ジャッジ日時 | 2026-05-21 22:37:04 |
| 合計ジャッジ時間 | 3,124 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 19 |
ソースコード
#int(input())
#map(int, input().split())
#list(map(int, input().split()))
N = int(input())
if N == 3 or N == 5:
print(-1)
elif N == 1:
print(1)
elif N % 2 == 0:
print(*list(range(2, N+1, 2)))
else:
a = [3, 6, 2, 4] + list(range(8, N, 2))
print(*a)