|
|
|
|
背景 Background |
|
|
为了for beginngers,特设此题,^_^
|
|
|
|
|
|
|
|
描述 Description |
|
|
替换字符串
题目描述
输入3行字符串, 把第1行的字符串中出现的所有第2行的字符串全部替换为第3行中的字符串。 每个字符串不超过200个字符。
样例:
输入
my name is jack,his name is not jack.
jack
tom
输出
my name is tom,his name is not tom. |
|
|
|
|
|
|
|
时间限制 Time Limitation |
|
|
各个测试点1s
|
|
|
|
|
|
|
|
|
Flag |
|
题号 |
P1744 |
|
字符串处理 |
通过 |
28人 |
提交 |
97次 |
通过率 |
29% |
难度 |
0 |
|
|
|
|
|
|