袁一航


私信TA

用户名:dotcpp0689705

访问量:2020

签 名:

https://www.msn.cn/zh-cn/play/arcade

等  级
排  名 905
经  验 3461
参赛次数 12
文章发表 74
年  龄 0
在职情况 学生
学  校 景园中学
专  业

  自我简介:

Gold Digger https://supermario-game.com/fullscreen

解题思路:

注意事项:

参考代码:

#include <bits/stdc++.h>

using namespace std;

char c[32],l,k;

int main()

{

    cin>>c;

    cin>>l>>k;

    for(int i=0;i<strlen(c);i++)

    {

        if(c[i]==l) c[i]=k;

    }

    cout<<c;

    return 0;

}


 

0.0分

0 人评分

  评论区

  • «
  • »