結果

問題 No.1528 Not 1
ユーザー lemondolemondo
提出日時 2021-06-04 20:20:07
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 277 bytes
コンパイル時間 503 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 82,048 KB
最終ジャッジ日時 2024-04-29 23:36:34
合計ジャッジ時間 3,168 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
51,968 KB
testcase_01 AC 78 ms
81,152 KB
testcase_02 AC 62 ms
67,840 KB
testcase_03 AC 67 ms
70,656 KB
testcase_04 AC 79 ms
80,896 KB
testcase_05 AC 57 ms
64,256 KB
testcase_06 AC 69 ms
74,752 KB
testcase_07 AC 78 ms
81,408 KB
testcase_08 AC 63 ms
70,784 KB
testcase_09 AC 57 ms
65,536 KB
testcase_10 AC 63 ms
71,808 KB
testcase_11 WA -
testcase_12 AC 40 ms
51,712 KB
testcase_13 AC 40 ms
51,840 KB
testcase_14 AC 40 ms
51,328 KB
testcase_15 AC 42 ms
51,968 KB
testcase_16 AC 41 ms
51,456 KB
testcase_17 AC 41 ms
51,712 KB
testcase_18 AC 79 ms
81,920 KB
testcase_19 AC 82 ms
82,048 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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)])
0