1466: 蓝桥杯基础练习VIP-字符串对比(C++简单解)
摘要:
```cpp
#include
#include
#include
using namespace std;
int checkRelation(const string& s……
字符串对比:简单逻辑题
摘要:解题思路:本体思路简单,我直接把思路标注在注释里,其实也用不了几句注意事项:不要看错判断条件了,1到4不是逐渐递进的参考代码:a=input()b=input()if len(a)!=len(b): ……
蓝桥杯基础练习VIP-字符串对比 (C)
摘要:注意事项:1.该题目不允许使用gets()函数(在新的C标准中已经废弃),fgets函数会读入'\n'符不是很方便,考虑使用scanf("%s\n%s",&a,&b)。2.该题目不允许……
编写题解 1466: 蓝桥杯基础练习VIP-字符串对比
摘要:参考代码:import java.util.Scanner;
public class Main {
public static void main(String[] args) {
……