結果

問題 No.1528 Not 1
ユーザー SidewaysOwlSidewaysOwl
提出日時 2021-10-29 08:42:53
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 82,856 KB
実行使用メモリ 86,528 KB
最終ジャッジ日時 2024-04-16 13:20:13
合計ジャッジ時間 3,159 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
51,840 KB
testcase_01 AC 78 ms
84,608 KB
testcase_02 AC 60 ms
70,016 KB
testcase_03 AC 63 ms
72,960 KB
testcase_04 AC 80 ms
84,992 KB
testcase_05 AC 57 ms
64,768 KB
testcase_06 AC 66 ms
78,208 KB
testcase_07 AC 78 ms
84,736 KB
testcase_08 AC 64 ms
73,984 KB
testcase_09 AC 58 ms
66,432 KB
testcase_10 AC 64 ms
73,984 KB
testcase_11 WA -
testcase_12 AC 41 ms
51,840 KB
testcase_13 AC 41 ms
51,940 KB
testcase_14 AC 43 ms
51,584 KB
testcase_15 WA -
testcase_16 AC 42 ms
52,096 KB
testcase_17 AC 40 ms
52,096 KB
testcase_18 AC 82 ms
85,984 KB
testcase_19 AC 82 ms
86,528 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = []
for i in range(-(-n//2)):
    ans.append((i+1)*2)
if n &1:
    if n < 7:
        ans = [-1]
    else:
        ans = [3] + ans
        ans[1],ans[2],ans[3] = 6,2,4
        ans.pop()
else:
    if n == 2:
        ans = [-1]
print(*ans)
0