C++版本——常规思路 摘要: #include using namespace std; int main() { string a, b; cin >> …… 题解列表 2021年04月15日 0 点赞 0 评论 191 浏览 评分: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
题解 1466: 蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:分情况讨论注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s1[100],s2[100]; scanf("%s %…… 题解列表 2021年10月18日 0 点赞 0 评论 175 浏览 评分:0.0
1466: 蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:注意事项:参考代码:n = input() m = input() def bj(a,b): s =0 for i in range(len(a)): …… 题解列表 2022年02月04日 0 点赞 0 评论 119 浏览 评分:0.0
蓝桥杯基础练习VIP-字符串对比 题解 摘要:解题思路:先比较长度,再比较内容。不区分大小写的条件可以运用 lower参考代码:str1=input() str2=input() if len(str1)!= len(str2): …… 题解列表 2022年02月24日 0 点赞 0 评论 169 浏览 评分:0.0
蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:通过代码实现相应情况注意事项:参考代码:#include"iostream"#include<cstring>#include<string>using namespace std;stri…… 题解列表 2022年03月01日 0 点赞 0 评论 182 浏览 评分:0.0
字符串对比题解 摘要:解题思路:注意事项:参考代码:a=input()b=input()if a==b: print(2)else: if len(a)==len(b): if a.lower()…… 题解列表 2022年03月09日 0 点赞 0 评论 205 浏览 评分:0.0
编写题解 1466: 蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main(){ string st…… 题解列表 2022年03月21日 0 点赞 0 评论 198 浏览 评分:0.0
巧用upper判断 摘要:解题思路:注意事项:参考代码:a=input()b=input()c=a.upper()d=b.upper()if len(a)!=len(b): print('1')else:…… 题解列表 2022年04月06日 0 点赞 0 评论 151 浏览 评分:0.0
转换字符【c++】 摘要:```cpp #include using namespace std; int main(){ string s1, s2, s3 = "", s4 =""; cin >> …… 题解列表 2022年04月07日 0 点赞 0 评论 214 浏览 评分:0.0