結果
問題 | No.1528 Not 1 |
ユーザー |
![]() |
提出日時 | 2021-06-04 20:06:00 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 95 ms / 2,000 ms |
コード長 | 208 bytes |
コンパイル時間 | 94 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 15,360 KB |
最終ジャッジ日時 | 2024-11-19 07:59:04 |
合計ジャッジ時間 | 2,666 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 19 |
ソースコード
n = int(input())if n % 2 == 0:print(*[2 * i for i in range(1, n // 2 + 1)])elif n == 1:print(1)elif n <= 5:print(-1)else:print(*([3, 6, 2, 4] + [2 * i for i in range(4, n // 2 + 1)]))