2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=10200;char s[N],a,b;int main()…… 题解列表 2023年12月15日 0 点赞 0 评论 170 浏览 评分:0.0
题解 2853: 字符替换 摘要: #include using namespace std; char a[20000],b,c,d,n; int main(){ cin>…… 题解列表 2023年12月15日 0 点赞 0 评论 161 浏览 评分:0.0
1200: 回文串C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=10200;char s[N];int main(){ ci…… 题解列表 2023年12月15日 0 点赞 0 评论 253 浏览 评分:0.0
题解 1200: 回文串 摘要: #include using namespace std; char s[100000]; int main(){ cin>>s; int…… 题解列表 2023年12月15日 0 点赞 0 评论 205 浏览 评分:0.0
2786: 判断能否被3、5、7整除 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n, count = 0; cin >> n; …… 题解列表 2023年12月14日 1 点赞 0 评论 287 浏览 评分:0.0
优先队列 + map 摘要:解题思路:数据为10e5 暴力n^2 肯定会超时可以利用小根堆来做注意事项:由于value不断的加可能超过INT_MAX,所以value类型为long long参考代码:#include<iostr…… 题解列表 2023年12月14日 0 点赞 2 评论 1014 浏览 评分:9.5
c++指针法(指针练习) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ char arr[100]; cin.getline(arr,100…… 题解列表 2023年12月14日 0 点赞 0 评论 286 浏览 评分:0.0
C++二维数组装置,可不限与3*3大小 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int arr[3][3]; int i,j; for (i=0;i…… 题解列表 2023年12月14日 0 点赞 0 评论 202 浏览 评分:0.0
编写题解 2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(10…… 题解列表 2023年12月14日 0 点赞 0 评论 199 浏览 评分:0.0
1043: [编程入门]三个数字的排序(插入排序思想) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a[3] = {0}; for (int…… 题解列表 2023年12月14日 0 点赞 0 评论 146 浏览 评分:0.0