Problem J: 替换字符串

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:76 Solved:49

Description

已知字符串s="衬衫的价格是9磅15便士"
输入起始索引(从0开始)和要替换的长度,以及要替换的内容t,将这部分字符替换为t

Input

0
2
短裤

Output

短裤的价格是9磅15便士

Sample Input Copy

6
1
12

Sample Output Copy

衬衫的价格是12磅15便士

Source/Category