結果

問題 No.1528 Not 1
ユーザー convexineqconvexineq
提出日時 2021-06-04 22:05:21
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 97 ms / 2,000 ms
コード長 168 bytes
コンパイル時間 380 ms
コンパイル使用メモリ 86,828 KB
実行使用メモリ 82,000 KB
最終ジャッジ日時 2023-08-12 13:01:18
合計ジャッジ時間 4,052 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,172 KB
testcase_01 AC 96 ms
81,576 KB
testcase_02 AC 90 ms
77,596 KB
testcase_03 AC 87 ms
78,072 KB
testcase_04 AC 97 ms
81,136 KB
testcase_05 AC 82 ms
76,268 KB
testcase_06 AC 88 ms
78,592 KB
testcase_07 AC 96 ms
81,444 KB
testcase_08 AC 87 ms
77,968 KB
testcase_09 AC 83 ms
76,880 KB
testcase_10 AC 87 ms
78,012 KB
testcase_11 AC 73 ms
71,064 KB
testcase_12 AC 71 ms
71,324 KB
testcase_13 AC 71 ms
71,024 KB
testcase_14 AC 72 ms
70,852 KB
testcase_15 AC 72 ms
71,172 KB
testcase_16 AC 72 ms
71,080 KB
testcase_17 AC 72 ms
71,228 KB
testcase_18 AC 96 ms
82,000 KB
testcase_19 AC 97 ms
81,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if n <= 2:
    print(1)
    exit()
elif n == 3 or n == 5:
    print(-1)
    exit()
r = [2,4] + list(range(6,n+1,2)[::-1])
if n%2: r.append(3)
print(*r)
0