結果

問題 No.1528 Not 1
ユーザー hir355hir355
提出日時 2021-06-04 20:35:59
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 224 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 81,280 KB
最終ジャッジ日時 2024-04-30 00:06:58
合計ジャッジ時間 2,766 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
51,968 KB
testcase_01 AC 72 ms
80,640 KB
testcase_02 AC 54 ms
67,968 KB
testcase_03 AC 56 ms
70,656 KB
testcase_04 AC 69 ms
80,256 KB
testcase_05 AC 54 ms
63,488 KB
testcase_06 AC 59 ms
74,368 KB
testcase_07 AC 70 ms
80,512 KB
testcase_08 AC 56 ms
70,784 KB
testcase_09 AC 53 ms
65,024 KB
testcase_10 AC 60 ms
71,040 KB
testcase_11 AC 38 ms
51,712 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 37 ms
52,096 KB
testcase_15 AC 39 ms
51,968 KB
testcase_16 AC 38 ms
51,584 KB
testcase_17 AC 37 ms
51,840 KB
testcase_18 AC 73 ms
81,280 KB
testcase_19 AC 73 ms
81,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if n == 3 or n == 5:
    print(-1)
m = (n + 1) // 2
if m == 1:
    print(1)
elif m == 2:
    print(2, 4)
elif m == 3:
    print(2, 4, 6)
else:
    print(*([3, 6, 2, 4] + [(i + 4) * 2 for i in range(m - 4)]))
0