結果

問題 No.1528 Not 1
ユーザー 👑 H20H20
提出日時 2021-06-04 21:11:17
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 260 bytes
コンパイル時間 1,438 ms
コンパイル使用メモリ 86,716 KB
実行使用メモリ 86,944 KB
最終ジャッジ日時 2023-08-12 10:57:24
合計ジャッジ時間 6,667 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 104 ms
85,580 KB
testcase_02 AC 74 ms
78,040 KB
testcase_03 AC 74 ms
78,936 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 80 ms
82,004 KB
testcase_07 AC 86 ms
85,832 KB
testcase_08 WA -
testcase_09 AC 74 ms
77,096 KB
testcase_10 AC 79 ms
79,708 KB
testcase_11 AC 68 ms
71,192 KB
testcase_12 AC 72 ms
71,160 KB
testcase_13 AC 74 ms
71,316 KB
testcase_14 AC 72 ms
71,264 KB
testcase_15 AC 75 ms
71,312 KB
testcase_16 AC 72 ms
71,032 KB
testcase_17 AC 70 ms
70,972 KB
testcase_18 AC 102 ms
86,624 KB
testcase_19 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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