python 字符串对比解法(ascll码值) 摘要:S1=input()S2=input()if len(S1)!=len(S2): print(1)else: a=0 b=0 c=0 for i in range(len…… 题解列表 2023年02月12日 0 点赞 0 评论 109 浏览 评分:0.0
1466————蓝桥杯基础练习VIP-字符串对比 摘要: import java.util.Scanner; public class Main { public static void main(String[] …… 题解列表 2023年02月06日 0 点赞 0 评论 132 浏览 评分:0.0
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
字符串对比,100%通过!!! 摘要:解题思路:注意事项:参考代码:a = input()b = input()if len(a) != len(b): print(1)elif a == b: print(2)elif a.…… 题解列表 2023年01月19日 0 点赞 0 评论 122 浏览 评分:0.0
蓝桥杯基础练习VIP-字符串对比(C语言) 摘要:#include<stdio.h> #include<ctype.h>//tolower函数引用所需的头文件 #include<string.h> int main() { char st…… 题解列表 2023年01月06日 0 点赞 0 评论 89 浏览 评分:0.0
字符串对比 摘要:参考代码1#include<iostream> #include<math.h> #include<string.h> #include<stdlib.h> using namespace s…… 题解列表 2022年09月18日 0 点赞 0 评论 214 浏览 评分:9.9
小南解题---字符串对比--64ms 摘要:a=input()b=input() if len(a)==len(b): if a==b: print(2) else: if a.upper()==b.up…… 题解列表 2022年08月27日 0 点赞 0 评论 207 浏览 评分:0.0
#c++字符串对比 transform(s.begin(),s.end(),s.begin(),::toupper); //全部转成大写 摘要:```cpp #include using namespace std; int main() { string s,ss; cin>>s>>ss; if(s.size()!=ss…… 题解列表 2022年07月28日 0 点赞 0 评论 340 浏览 评分:0.0
1466: 蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { int a,b,i,flag=0,be=0,de=0,k=0;…… 题解列表 2022年06月24日 0 点赞 0 评论 105 浏览 评分:0.0
编写题解 1466: 蓝桥杯基础练习VIP-字符串对比 java 适合小白!!! 摘要:解题思路:解题需要掌握字符串的compareTo()(区分大小写的字符串判断是否相等),compareToIgnoreCase()(不区分大小写的字符串判断是否相等),还有字符串的输入需要用到next…… 题解列表 2022年05月12日 0 点赞 0 评论 172 浏览 评分:0.0