結果

問題 No.1528 Not 1
ユーザー 👑 H20H20
提出日時 2021-06-04 21:07:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 232 bytes
コンパイル時間 565 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 87,384 KB
最終ジャッジ日時 2023-08-12 10:48:19
合計ジャッジ時間 5,671 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
71,140 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 105 ms
84,604 KB
testcase_05 AC 88 ms
76,400 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 94 ms
79,172 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 78 ms
71,104 KB
testcase_12 AC 77 ms
71,324 KB
testcase_13 AC 77 ms
71,256 KB
testcase_14 AC 79 ms
71,140 KB
testcase_15 WA -
testcase_16 AC 75 ms
71,324 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 107 ms
87,108 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+1,2):
        if i==6:
            continue
        ANS.append(i)
    print(*ANS)
0