替换单词
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
Background
随堂检测2
Description
请用代码实现,在s串中找出t串,并改为w串。
Format
Input
一行s串,另一行t串与w串,用空格隔开。
Output
一行
Samples
I like chocolate
like dislike
I dislike chocolate
Bacon tastes good
tastes smells
Bacon smells good
Limitation
数据保证s串中有t串
请注意,s中出现的每个t都需要被替换
1s, 1024KiB for each test case.