結果
| 問題 |
No.3036 Nauclhlt型文字列
|
| コンテスト | |
| ユーザー |
nikoro256
|
| 提出日時 | 2025-02-28 21:29:39 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 163 bytes |
| コンパイル時間 | 146 ms |
| コンパイル使用メモリ | 82,320 KB |
| 実行使用メモリ | 70,176 KB |
| 最終ジャッジ日時 | 2025-02-28 21:29:46 |
| 合計ジャッジ時間 | 1,525 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
N=int(input())
S=input()
if N%2==1:
print('No')
exit()
print('Yes')
l=[[],[]]
for i in range(N):
l[i%2].append(S[i])
print(''.join(l[0]),''.join(l[1]))
nikoro256