蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:如果两个字符串的长度不相等,输出 "1"。如果两个字符串的长度相等,并且在区分大小写的情况下完全相等,输出 "2"。如果两个字符串的长度相等,但在不区分大小写的情况下相等,输出 "3"。如果…… 题解列表 2023年11月29日 0 点赞 0 评论 130 浏览 评分:0.0
蓝桥杯基础练习VIP-字符串对比-题解(Java代码)100% 摘要:### 引用方法,暴力破解 ```java Scanner sc = new Scanner(System.in); String str1 = sc.nextLine(); …… 题解列表 2024年01月11日 0 点赞 0 评论 115 浏览 评分:0.0
1466: 蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int gx(string str,int n,string str1,in…… 题解列表 2024年01月21日 0 点赞 0 评论 95 浏览 评分:0.0
字符串对比-JAVA 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2024年03月20日 0 点赞 0 评论 116 浏览 评分:0.0
编写题解 1466: 蓝桥杯基础练习VIP||不用strcmp; 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char arr[2][11] = { 0 }; gets(ar…… 题解列表 2024年03月26日 0 点赞 0 评论 129 浏览 评分:0.0
1466-c语言题解 摘要:```c #include #include #include #define MAX 11 int main() { char s1[MAX], s2[MAX]; …… 题解列表 2024年08月26日 0 点赞 0 评论 72 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void strupr(char a[]){ int i; for(i=0;a[i]!=…… 题解列表 2024年12月08日 1 点赞 0 评论 186 浏览 评分:0.0
stricmp用不了,换普通解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#include<stdio.h>using namespace std;i…… 题解列表 2025年02月18日 0 点赞 0 评论 82 浏览 评分:0.0
题解 1466: 蓝桥杯基础练习VIP-字符串对比(Java版本) 摘要:```javaimport java.util.Scanner;// 定义一个名为 B 的公共类public class Main { /** * 程序的主入口方…… 题解列表 2025年04月03日 0 点赞 0 评论 169 浏览 评分:0.0
字符串对比之不要造轮子 摘要:## 字符串对比题目描述给定两个仅由大写字母或小写字母组成的字符串(长度介于1到10之间),它们之间的关系是以下4中情况之一:1:两个字符串长度不等。比如 Beijing 和 …… 题解列表 2025年04月03日 0 点赞 0 评论 50 浏览 评分:0.0