結果
| 問題 |
No.3036 Nauclhlt型文字列
|
| コンテスト | |
| ユーザー |
sasa8uyauya
|
| 提出日時 | 2025-02-28 21:23:13 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 44 ms / 2,000 ms |
| コード長 | 166 bytes |
| コンパイル時間 | 325 ms |
| コンパイル使用メモリ | 82,592 KB |
| 実行使用メモリ | 75,804 KB |
| 最終ジャッジ日時 | 2025-02-28 21:23:16 |
| 合計ジャッジ時間 | 1,539 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
n=int(input())
if n%2:
print("No")
exit()
print("Yes")
s=[]
t=[]
u=input()
for i in range(n):
c=u[i]
if i%2:
t+=[c]
else:
s+=[c]
print("".join(s),"".join(t))
sasa8uyauya