C. 【入门】字符串的插入

    Type: Default 1000ms 128MiB

【入门】字符串的插入

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

请将一个字符串s2,插入到一个字符串s1的第p个字符之后。

Input Format

输入三行,第1行是字符串s2,第2行是字符串s1,第3行是位置p,本题确认位置p一定是1到s1的字符串长度之间的整数,本题中的字符串均是没有空格的字符串。

Output Format

输出组合后的字符串。

qwe
jij
3
jijqwe

Source

字符串

数组及应用4(字符数组和字符串)

Not Claimed
Status
Done
Problem
8
Open Since
2025-12-12 0:00
Deadline
2025-12-19 23:59
Extension
24 hour(s)