题解 1466: 蓝桥杯基础练习VIP-字符串对比

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

转换字符【c++】

摘要:```cpp #include using namespace std; int main(){ string s1, s2, s3 = "", s4 =""; cin >> ……

巧用upper判断

摘要:解题思路:注意事项:参考代码:a=input()b=input()c=a.upper()d=b.upper()if len(a)!=len(b):    print('1')else:……

字符串对比题解

摘要:解题思路:注意事项:参考代码:a=input()b=input()if a==b:    print(2)else:    if len(a)==len(b):        if a.lower()……

蓝桥杯基础练习VIP-字符串对比

摘要:解题思路:通过代码实现相应情况注意事项:参考代码:#include"iostream"#include<cstring>#include<string>using namespace std;stri……