2853: 字符替换 c++ (string) 摘要:解题思路:注意事项:参考代码: #include <bits/stdc++.h> using namespace std; const int N = 1e3; typedef…… 题解列表 2024年07月22日 0 点赞 0 评论 168 浏览 评分:0.0
2853: 字符替换 摘要:解题思路:将字符串和字符存储下来后,再通过循环把字符串反复判断并改为题目要求的字符注意事项:循环内需要i从0开始循环,并用strlen()函数把数组最后的值的下标求出,放入循环参考代码:#includ…… 题解列表 2024年07月19日 0 点赞 0 评论 178 浏览 评分:0.0
2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e5;char …… 题解列表 2024年07月12日 0 点赞 0 评论 141 浏览 评分:0.0
题解 2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N = 1e5;cha…… 题解列表 2024年07月12日 0 点赞 0 评论 115 浏览 评分:0.0
题解 2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char c[32],l,k;int main(){ cin>>c; …… 题解列表 2024年07月12日 0 点赞 0 评论 161 浏览 评分:0.0
2853: 字符替换 摘要:参考代码:s, a, b = map(str, input().split()) print(s.replace(a, b))…… 题解列表 2024年03月23日 0 点赞 0 评论 259 浏览 评分:0.0
2853: 字符替换 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String arg…… 题解列表 2024年02月04日 0 点赞 0 评论 186 浏览 评分:0.0
2853: 字符替换 摘要:解题思路:注意事项:参考代码:a,b,c=input().split()d=a.replace(b,c)print(d)…… 题解列表 2024年01月24日 0 点赞 0 评论 122 浏览 评分:0.0
Java基本语法 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;class Main { public static void main(String[] args) { …… 题解列表 2023年12月25日 0 点赞 0 评论 154 浏览 评分:0.0
2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=10200;char s[N],a,b;int main()…… 题解列表 2023年12月15日 0 点赞 0 评论 138 浏览 评分:0.0