結果
問題 |
No.1528 Not 1
|
ユーザー |
|
提出日時 | 2021-06-04 20:14:04 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 249 bytes |
コンパイル時間 | 302 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 85,888 KB |
最終ジャッジ日時 | 2024-11-19 08:18:38 |
合計ジャッジ時間 | 2,564 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 18 WA * 1 |
ソースコード
N = int(input()) if N % 2 == 0: print(*[2 * (i + 1) for i in range((N + 1) // 2)]) else: if N <= 5: print(-1) exit() L = (N + 1) // 2 A = [3, 6, 2, 4] while len(A) < L: A.append(2 * (len(A))) print(*A)