結果
問題 |
No.1528 Not 1
|
ユーザー |
|
提出日時 | 2024-11-28 20:23:03 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 331 bytes |
コンパイル時間 | 274 ms |
コンパイル使用メモリ | 82,856 KB |
実行使用メモリ | 85,944 KB |
最終ジャッジ日時 | 2024-11-28 20:23:21 |
合計ジャッジ時間 | 3,212 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 18 WA * 1 |
ソースコード
N = int(input()) A = [] if N==2: A.append(2) elif N==1 or N==3 or N==5: A.append(-1) elif N==4: A = [2,4] elif N%2==0: for i in range(1,N//2+1): A.append(2*i) else: for i in range((N+1)//2-2): if N-1-2*i!=6: A.append(N-1-2*i) A.append(2) A.append(6) A.append(3) print(*A)