結果
問題 |
No.3036 Nauclhlt型文字列
|
ユーザー |
![]() |
提出日時 | 2025-03-01 20:45:35 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 203 bytes |
コンパイル時間 | 285 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2025-03-01 20:45:38 |
合計ジャッジ時間 | 1,879 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 RE * 2 |
other | AC * 5 RE * 10 |
ソースコード
N = int(input()) S = input() if N % 2 == 1: print("No") exit() P = [] Q = [] for i in range(0, N, step=2): P.append(S[i]) Q.append(S[i + 1]) print("Yes") print("".join(P), "".join(Q))