#2931. Strings with the Same Length

0
    ID: 2931 传统题 2000ms 1024MiB 尝试: 0 已通过: 0 难度: 1 上传者: 标签>AtCoderabc148BGESP 3级字符串枚举(单层循环)

Strings with the Same Length

Strings with the Same Length

题目描述

Given are strings ss and tt of length NN each, both consisting of lowercase English letters. Let us form a new string by alternating the characters of SS and the characters of TT, as follows: the first character of SS, the first character of TT, the second character of SS, the second character of TT, ......, the NN-th character of SS, the NN-th character of TT. Print this new string.

输入格式

Input is given from Standard Input in the following format: NN SS TT

输出格式

Print the string formed.

2
ip cc
icpc
8
hmhmnknk uuuuuuuu
humuhumunukunuku
5
aaaaa aaaaa
aaaaaaaaaa

提示

1≤N≤1001 \leq N \leq 100 ∣S∣=∣T∣=N|S| = |T| = N SS and TT are strings consisting of lowercase English letters.

标签: AtCoder|abc148B

来源

AtCoder|abc148B