蓝桥杯基础练习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
第一次看到使用toupper()函数 摘要:描述:C 库函数 int toupper(int c) 把小写字母转换为大写字母。 函数说明:int toupper(int c); //里面的c是要被转换的字母 返回值: 如果 c 有相…… 题解列表 2021年11月24日 0 点赞 0 评论 656 浏览 评分:9.9
字符串的对比(超简单的c方法 摘要:###所以为什么strcasecmp这个函数可以通过 ###但是stricmp和strcmpi不行呢 ###直接调用几个字符串的函数就好 ```c #include #includ…… 题解列表 2021年12月03日 0 点赞 0 评论 284 浏览 评分:9.9
蓝桥杯-字符串对比 灵活运用String方法(JAVA) 摘要: import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter;…… 题解列表 2022年01月18日 0 点赞 1 评论 95 浏览 评分:9.9
1466: 蓝桥杯基础练习VIP-字符串对比 摘要:方法一: ```c #include #include #include void main() { char arr[10], brr[10]; scanf("%…… 题解列表 2022年02月09日 0 点赞 0 评论 200 浏览 评分:9.9
蓝桥杯基础练习VIP-字符串对比 (C++详解) 摘要:参考代码: ```cpp #include #include #include #include #include #include #include #include…… 题解列表 2022年04月02日 0 点赞 0 评论 320 浏览 评分:9.9
字符串对比 摘要:参考代码1#include<iostream> #include<math.h> #include<string.h> #include<stdlib.h> using namespace s…… 题解列表 2022年09月18日 0 点赞 0 评论 214 浏览 评分:9.9
1466: 蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:注意事项:参考代码:def judge(m,n): if len(m)!=len(n): return 1 elif m==n: return 2 …… 题解列表 2023年01月20日 0 点赞 0 评论 95 浏览 评分:9.9
字符串对比 摘要:解题思路:# 输入两个字符串 str1 = input() str2 = input() # 先比较两个字符串长度,如果长度不同,返回1 # 如果长度相同,再比较两个字符串是否相等,如果相等,…… 题解列表 2023年03月15日 0 点赞 0 评论 118 浏览 评分:9.9
1466: 蓝桥杯基础练习VIP-字符串对比(C++简单解) 摘要: ```cpp #include #include #include using namespace std; int checkRelation(const string& s…… 题解列表 2023年07月31日 0 点赞 0 评论 152 浏览 评分:9.9