题解 2866: 过滤多余的空格 #includeusingnamespacestd;chara[20000],b,c,d,n,s[2000];intmain(){while(cin>>s)cout 题解列表 2023年12月15日 0 点赞 0 评论 488 浏览 评分:0.0
2866: 过滤多余的空格 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=10200;char s[N];int main(){ wh…… 题解列表 2023年12月15日 0 点赞 0 评论 544 浏览 评分:9.9
2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=10200;char s[N],a,b;int main()…… 题解列表 2023年12月15日 0 点赞 0 评论 413 浏览 评分:0.0
题解 2853: 字符替换 摘要: #include using namespace std; char a[20000],b,c,d,n; int main(){ cin>…… 题解列表 2023年12月15日 0 点赞 0 评论 415 浏览 评分: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 评论 523 浏览 评分:0.0
题解 1200: 回文串 摘要: #include using namespace std; char s[100000]; int main(){ cin>>s; int…… 题解列表 2023年12月15日 0 点赞 0 评论 475 浏览 评分:0.0
2786: 判断能否被3、5、7整除 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n, count = 0; cin >> n; …… 题解列表 2023年12月14日 1 点赞 0 评论 562 浏览 评分:0.0
优先队列 + map 摘要:解题思路:数据为10e5 暴力n^2 肯定会超时可以利用小根堆来做注意事项:由于value不断的加可能超过INT_MAX,所以value类型为long long参考代码:#include<iostr…… 题解列表 2023年12月14日 0 点赞 2 评论 1439 浏览 评分:9.5
c++指针法(指针练习) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ char arr[100]; cin.getline(arr,100…… 题解列表 2023年12月14日 0 点赞 0 评论 539 浏览 评分: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 评论 479 浏览 评分:0.0