题解列表

筛选

蓝桥杯算法提高VIP-字符串跳步-题解(Python代码)

在python中可以当成序列来看,list[star:end:step],表示从star位开始,以step为间隔,一直到end,那么这道题就很简单了```pythonst=input()#输入字符串lis=list(map(int,input().split()))#以列表形式存放两个数print(s

Jam的计数法-题解(C/C++代码)(思路简单)

####解题思路:每次从最后一位开始搜索,如果当前位置已经到达这个位置的最大值,就进行下一位的搜索,如果当前没有到达最大值,就把当前位置进行+1操作,如果到第一位时还不能加,就证明是错误的。####参考代码:```cpp#includeusingnamespacestd;intmain(){ints,

暴力法解决回文数

摘要:```c #include int main() { int n; scanf("%d", &n); //五位数的回文数 for (int a = 1; a < 10; a……