結果

問題 No.1528 Not 1
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-06-04 20:12:01
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 246 bytes
コンパイル時間 186 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 85,780 KB
最終ジャッジ日時 2024-11-19 08:13:06
合計ジャッジ時間 3,226 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 17 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if n%2 == 0:
    ans = [i*2 for i in range(1,n//2+1)]
else:
    if n < 9:
        print(-1)
        exit()
    ans = [9,6]
    for i in range(1,n//2+1):
        if i == 3:
            continue
        ans.append(i*2)
print(*ans)
0