結果

問題 No.1528 Not 1
ユーザー showtamu
提出日時 2021-06-04 20:28:05
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 220 bytes
コンパイル時間 189 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 20,224 KB
最終ジャッジ日時 2024-11-19 09:04:18
合計ジャッジ時間 4,640 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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