题解列表

筛选

1688题解python

解题思路:a,b和c的类型不同,但必须在同一行输入,所以先把A,B,C输入为同一类型,在第二行再把C改成整数型注意事项:参考代码:a,b,c=list(map(str,input().split()))c=int(c)squares=[]foriina:squares.append(i)squares

字符串对比题解

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

1975: 蓝桥杯算法提高VIP-扑克排序

摘要:解题思路:                     将J、Q、C、A分别替换成abcd以便排序,将dchs分别替换成1234以便于排序,然后用StringBuilder的对象sb存储替换后的字符串,将……

Sine之舞 C++递归

```cpp#include#includeusingnamespacestd;strings;voiddfs(intbegin,intnum){if(begin==num){cout

C语言(链式存储结构解题)

#include#includetypedefstructstacknode{intdata;structstacknode*next;}stacknode,*linktop;typedefstruct{linktoptop;intcount;}linkstack;voidinitstack(link