結果
| 問題 | No.3036 Nauclhlt型文字列 |
| コンテスト | |
| ユーザー |
Cecil
|
| 提出日時 | 2025-02-28 21:25:52 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 214 bytes |
| 記録 | |
| コンパイル時間 | 227 ms |
| コンパイル使用メモリ | 95,976 KB |
| 実行使用メモリ | 89,892 KB |
| 最終ジャッジ日時 | 2026-07-06 11:35:07 |
| 合計ジャッジ時間 | 2,556 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))
Cecil