编写题解 2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string…… 题解列表 2024年07月22日 0 点赞 0 评论 145 浏览 评分:9.9
2853: 字符替换 摘要:解题思路:注意事项:参考代码#include <bits/stdc++.h>using namespace std;const int N=1e7;char c[N],l,k;int main(){ …… 题解列表 2024年07月19日 0 点赞 0 评论 273 浏览 评分:9.9
优质题解 题目 2853: 字符替换的题解 摘要:解题思路:1:创建一个字符串类型的变量a2:创建两个字符char类型的变量,m(需要替换的字符)和n(替换成的字符);3:输入a,m,和n(因为题目中要求不能输入空格所以直接用cin就可以了)4:fo…… 题解列表 2023年10月25日 0 点赞 0 评论 305 浏览 评分:9.9
字符替换(指针) 摘要:解题思路:注意事项:参考代码: #include <stdio.h>#include<string.h>int main(){ char s[100]; char…… 题解列表 2023年12月14日 0 点赞 0 评论 436 浏览 评分:9.9
题解 2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char c[32],l,k;int main(){ cin>>c; …… 题解列表 2024年07月12日 0 点赞 0 评论 123 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { Sc…… 题解列表 2024年01月30日 0 点赞 0 评论 144 浏览 评分:9.9
2853: 字符替换(C语言) 摘要: #include int main() { char a[59]; char m,n; scanf("%s %c %c",a,&m,&n); int str_le…… 题解列表 2023年08月10日 0 点赞 0 评论 321 浏览 评分:7.3
字符替换C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char beitihuan,tihuanzhe; char a[31]; …… 题解列表 2023年02月01日 0 点赞 0 评论 421 浏览 评分:6.0
两行解决字符替换 摘要:解题思路:0.0注意事项:奥利给加油!参考代码:n,a,b=map(str,input().split())print(n.replace(a,b))…… 题解列表 2024年01月22日 0 点赞 0 评论 186 浏览 评分:0.0
2853: 字符替换 摘要:解题思路:注意事项:参考代码:l = list(input().split())t = l[0].replace(l[1],l[2])print(t)…… 题解列表 2024年08月01日 0 点赞 0 评论 394 浏览 评分:0.0