結果

問題 No.1528 Not 1
ユーザー 👑 H20H20
提出日時 2021-06-04 21:08:15
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 230 bytes
コンパイル時間 450 ms
コンパイル使用メモリ 87,032 KB
実行使用メモリ 87,056 KB
最終ジャッジ日時 2023-08-12 10:49:14
合計ジャッジ時間 4,335 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,316 KB
testcase_01 AC 103 ms
85,508 KB
testcase_02 AC 90 ms
78,340 KB
testcase_03 AC 91 ms
79,140 KB
testcase_04 AC 102 ms
84,744 KB
testcase_05 AC 87 ms
76,344 KB
testcase_06 AC 101 ms
81,964 KB
testcase_07 AC 106 ms
85,696 KB
testcase_08 AC 93 ms
79,504 KB
testcase_09 AC 91 ms
76,788 KB
testcase_10 AC 93 ms
79,604 KB
testcase_11 AC 77 ms
71,140 KB
testcase_12 AC 77 ms
71,236 KB
testcase_13 AC 76 ms
71,136 KB
testcase_14 AC 78 ms
71,148 KB
testcase_15 WA -
testcase_16 AC 76 ms
71,268 KB
testcase_17 WA -
testcase_18 AC 105 ms
87,028 KB
testcase_19 AC 107 ms
87,056 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N==1:
    print(1)
elif N==2 or N==3 or N==5:
    print(-1)
elif N==4:
    print(2,4)
else:
    ANS = [3,6]
    for i in range(2,N,2):
        if i==6:
            continue
        ANS.append(i)
    print(*ANS)
0