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