-->
当前位置:首页 > 题库

PROGRAMMING:Word replacement

Luz5年前 (2021-05-10)题库385
This paper designs a method to search and replace the words in the string, and realizes the search and replacement of all the words to be replaced in the English string.
###Input format:
Enter the parent string in the first line, the query word in the second line, and the replaced word in the third line.
###Output format:
Complete string after replacement
###Input example:
Here is a set of inputs. For example:
```in
Although I am without you, I will always be ou you
ou
with
```
###Output example:
The corresponding output is given here. For example:
```out
Although I am without you, I will always be with you
```







answer:If there is no answer, please comment