蓝桥杯基础练习VIP-字符串对比-题解(C++代码)STL函数 摘要:```cpp #include #include #include using namespace std; int main() { int res = 0; string s…… 题解列表 2020年10月05日 0 点赞 0 评论 436 浏览 评分:9.9
1466: 蓝桥杯基础练习VIP-字符串对比(C++简单解) 摘要: ```cpp #include #include #include using namespace std; int checkRelation(const string& s…… 题解列表 2023年07月31日 0 点赞 0 评论 129 浏览 评分:9.9
字符串对比 摘要:参考代码1#include<iostream> #include<math.h> #include<string.h> #include<stdlib.h> using namespace s…… 题解列表 2022年09月18日 0 点赞 0 评论 188 浏览 评分:9.9
蓝桥杯基础练习VIP-字符串对比 (C++详解) 摘要:参考代码: ```cpp #include #include #include #include #include #include #include #include…… 题解列表 2022年04月02日 0 点赞 0 评论 298 浏览 评分:9.9
蓝桥杯基础练习VIP-字符串对比-题解(C++代码) 摘要:```cpp /**反思:错写main成mian,vs可以提示错误原因,但Dev-C++不会提示** **总结:下次出现[Error] ld returned 1 exit status 考虑是否…… 题解列表 2019年12月13日 0 点赞 1 评论 471 浏览 评分:9.9
优质题解 蓝桥杯基础练习VIP-字符串对比 (C++代码)带流程图 摘要:解题思路:参考流程图。过程讲解:先判断两个字符串是否等长,不等长输出1,等长进入第二步;判断是否完全相等,完全相等则输出2,不完全相等则进入第三步;判断是大小写区别还是字母区别,大小写区别输出3,字母…… 题解列表 2018年10月28日 0 点赞 3 评论 2632 浏览 评分:8.2
优质题解 菜鸟的思路 摘要:解题思路: 一、先划分大的框架,从整体看 分为length相同和不相同。 二、lengthb不相同只有一种情况,那就是第1种情况。 三、length相同分为三种情况,而这三种情况又分…… 题解列表 2021年04月12日 0 点赞 3 评论 445 浏览 评分:7.3
WU-字符串对比 (C++代码) 摘要:这题用C++的sting流字符串来做比较起来比较方便 其中用到了小写字母转换成大写字母的函数 toupper()#include<iostream> #include<cstring> #inc…… 题解列表 2017年12月06日 4 点赞 1 评论 1121 浏览 评分:6.0
蓝桥基础练习-字符串对比,初学者暴力解法! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义两个字符串变量s1和s2 …… 题解列表 2024年11月06日 0 点赞 0 评论 139 浏览 评分:6.0
字符串对比 摘要:#include <iostream>#include<cstring>#include<cmath>using namespace std;int main(){ char str1[10],…… 题解列表 2021年03月23日 0 点赞 0 评论 191 浏览 评分:0.0