字符串的对比(超简单的c方法 摘要:###所以为什么strcasecmp这个函数可以通过 ###但是stricmp和strcmpi不行呢 ###直接调用几个字符串的函数就好 ```c #include #includ…… 题解列表 2021年12月03日 0 点赞 0 评论 284 浏览 评分:9.9
第一次看到使用toupper()函数 摘要:描述:C 库函数 int toupper(int c) 把小写字母转换为大写字母。 函数说明:int toupper(int c); //里面的c是要被转换的字母 返回值: 如果 c 有相…… 题解列表 2021年11月24日 0 点赞 0 评论 656 浏览 评分:9.9
题解 1466: 蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:分情况讨论注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s1[100],s2[100]; scanf("%s %…… 题解列表 2021年10月18日 0 点赞 0 评论 174 浏览 评分:0.0
蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>#include<math.h>int main(){ int i…… 题解列表 2021年07月14日 0 点赞 0 评论 168 浏览 评分:0.0
C++版本——常规思路 摘要: #include using namespace std; int main() { string a, b; cin >> …… 题解列表 2021年04月15日 0 点赞 0 评论 191 浏览 评分:0.0
优质题解 菜鸟的思路 摘要:解题思路: 一、先划分大的框架,从整体看 分为length相同和不相同。 二、lengthb不相同只有一种情况,那就是第1种情况。 三、length相同分为三种情况,而这三种情况又分…… 题解列表 2021年04月12日 0 点赞 3 评论 478 浏览 评分:7.3
字符串对比。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#include<string.h>int main(){ c…… 题解列表 2021年04月10日 0 点赞 0 评论 189 浏览 评分:0.0
python 字符串对比 摘要:解题思路:注意事项:参考代码:str1 = input()str2 = input()if len(str1) != len(str2): print(1)elif len(str1) == l…… 题解列表 2021年04月09日 0 点赞 0 评论 251 浏览 评分:0.0
蓝桥杯基础练习VIP-字符串对比(C语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <stdlib.h>int main(){ char a[20], b[…… 题解列表 2021年03月31日 0 点赞 0 评论 282 浏览 评分:9.9
蓝桥杯基础练习VIP-字符串对比(简洁版) 摘要:```cpp #include using namespace std; string a,b; int panduan(string a,string b) { if(a.size()…… 题解列表 2021年03月29日 0 点赞 0 评论 204 浏览 评分:0.0