結果

問題 No.1528 Not 1
ユーザー etale.K3
提出日時 2021-08-22 01:33:45
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 194 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 15,440 KB
最終ジャッジ日時 2024-10-15 16:33:31
合計ジャッジ時間 3,232 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

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)]))
0