C++-字符与字符数组-要求将原文中的A字母全部替换成B字母,并将其输出
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.
Background
Description
在应用计算机编辑文档时,我们经常遇到替换任务,现在请你输入两行内容,第一行是原文,整体保存下来,第二行输入两个字符A和B,要求将原文中的A字母全部替换成B字母,并将其输出。
Format
Input
Output
Samples
I love China. I love Beijing
I U
U love China. U love Beijing
Limitation
字符与字符数组
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 7
- Start at
- 2024-4-30 0:00
- End at
- 2024-5-12 12:00
- Duration
- 300 hour(s)
- Host
- Partic.
- 4