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