結果

問題 No.3036 Nauclhlt型文字列
ユーザー Facade
提出日時 2025-02-28 21:33:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 225 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 82,728 KB
実行使用メモリ 72,572 KB
最終ジャッジ日時 2025-02-28 21:33:36
合計ジャッジ時間 1,620 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 5 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
s=list(input())
if n%2==1:
    print("No")
    exit()
one=[]
two=[]
for i in range(n):
    if i%2==0:
        one.append(s[i])
    else:
        two.append(s[i])
print("".join(one),end=" ")
print("".join(two))
0