結果
問題 |
No.3036 Nauclhlt型文字列
|
ユーザー |
![]() |
提出日時 | 2025-02-28 21:25:52 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 214 bytes |
コンパイル時間 | 130 ms |
コンパイル使用メモリ | 82,796 KB |
実行使用メモリ | 72,752 KB |
最終ジャッジ日時 | 2025-02-28 21:25:57 |
合計ジャッジ時間 | 1,355 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 5 WA * 10 |
ソースコード
N = int(input()) S = list(input()) if N%2!=0: print("No") exit() A = list() B = list() for i in range(N): if i%2==0: A.append(S[i]) else: B.append(S[i]) print("".join(A),"".join(B))