結果
| 問題 |
No.1528 Not 1
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-04 20:20:07 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 457 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 82,304 KB |
| 最終ジャッジ日時 | 2024-11-19 08:41:25 |
| 合計ジャッジ時間 | 3,088 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 18 WA * 1 |
ソースコード
import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return list(map(int, input().split()))
sys.setrecursionlimit(10**9)
N = int(input())
if N==1 or N==3 or N==5:
print(-1)
else:
ans = [2, 4, *list(range(8, N, 2)), 6, 3]
print(*ans[:-(-N//2)])