結果
問題 | No.1528 Not 1 |
ユーザー |
![]() |
提出日時 | 2023-07-16 10:56:45 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 90 ms / 2,000 ms |
コード長 | 184 bytes |
コンパイル時間 | 143 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 15,948 KB |
最終ジャッジ日時 | 2024-09-17 12:41:14 |
合計ジャッジ時間 | 2,634 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 19 |
ソースコード
N=int(input()) if N%2==0: print(*[a for a in range(2,N+1,2)]) else: if N==1: print(1) elif N in (3,5): print(-1) else: print(*[3]+[a for a in range(6,N+1,2)]+[2,4])