結果

問題 No.1528 Not 1
ユーザー Akijin_007Akijin_007
提出日時 2023-05-11 20:37:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 272 bytes
コンパイル時間 642 ms
コンパイル使用メモリ 87,336 KB
実行使用メモリ 82,452 KB
最終ジャッジ日時 2023-08-18 12:04:56
合計ジャッジ時間 5,292 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,228 KB
testcase_01 AC 99 ms
80,860 KB
testcase_02 AC 86 ms
77,356 KB
testcase_03 AC 85 ms
77,660 KB
testcase_04 AC 95 ms
81,196 KB
testcase_05 AC 82 ms
76,460 KB
testcase_06 AC 89 ms
78,328 KB
testcase_07 AC 97 ms
80,964 KB
testcase_08 AC 87 ms
78,148 KB
testcase_09 AC 85 ms
77,024 KB
testcase_10 AC 88 ms
77,612 KB
testcase_11 AC 75 ms
71,200 KB
testcase_12 AC 74 ms
71,124 KB
testcase_13 AC 72 ms
71,380 KB
testcase_14 AC 73 ms
71,204 KB
testcase_15 AC 74 ms
71,228 KB
testcase_16 AC 73 ms
71,380 KB
testcase_17 AC 73 ms
71,204 KB
testcase_18 AC 95 ms
81,464 KB
testcase_19 AC 97 ms
82,452 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#int(input())
#map(int, input().split())
#list(map(int, input().split()))

N = int(input())

if N == 3 or N == 5:
    print(-1)
elif N == 1:
    print(1)
elif N % 2 == 0:
    print(*list(range(2, N+1, 2)))
else:
    a = [3, 6, 2, 4] + list(range(8, N, 2))
    print(*a)


0