結果
| 問題 | 
                            No.1528 Not 1
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hell_walker
                         | 
                    
| 提出日時 | 2021-06-04 20:25:34 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 90 ms / 2,000 ms | 
| コード長 | 170 bytes | 
| コンパイル時間 | 100 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 15,696 KB | 
| 最終ジャッジ日時 | 2024-11-19 08:56:43 | 
| 合計ジャッジ時間 | 2,605 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 19 | 
ソースコード
import math
n=int(input())
if n%2==0:
    print(*list(range(2,n+1,2)))
elif n>=6:
    print(*([3,6,2,4]+list(range(8,n+1,2))))
elif n==1:
    print(1)
else:
    print(-1)
            
            
            
        
            
hell_walker