結果

問題 No.1528 Not 1
ユーザー showtamu
提出日時 2021-06-04 20:31:12
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 20,224 KB
最終ジャッジ日時 2024-11-19 09:19:12
合計ジャッジ時間 4,098 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other AC * 1 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#B   
n=int(input())
if n==1:
    print(-1)
elif n==2:
    print(2)
if n%2==0:
    n-=1
a=int(n/2)
s=[]
for i in range(a):
    c=2*i
    s.append(c)
s=[str(p) for p in s]
s=' '.join(s)
t = s.replace(' ', ' ')
print(t)    
0