結果
| 問題 | No.1528 Not 1 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-17 11:41:11 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 99 ms / 2,000 ms |
| コード長 | 211 bytes |
| コンパイル時間 | 200 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 16,256 KB |
| 最終ジャッジ日時 | 2024-07-06 23:11:29 |
| 合計ジャッジ時間 | 3,481 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 19 |
ソースコード
#yuki1528 n=int(input()) if n==1 or n==2: print(1) elif n==3 or n==5: print(-1) elif n==4: print(2,4) else: t=[2,4] for i in range(8,n+1,2): t.append(i) t.append(6) if n%2==1: t.append(3) print(*t)