题解列表

筛选

满分阿尔法积

摘要:解题思路:巨坑一定要!!!!!!!!!strip()注意事项:参考代码:s=input().strip()while len(s)!=1:    n=1    for i in s:        i……

有手就行之逆序输出

摘要:解题:用心想用手打。注意事项: 得有手。参考代码:#include<stdio.h>int main(){    int a[10],m,n;    for(m=0;m<10;m++)        ……

公交汽车 区间Dp

摘要:```cpp #include #include using namespace std; int n; int dp[105],a[15]; int main() { for (i……

四行代码

摘要:解题思路:注意事项:参考代码:def f(n):    n=str(n)    return int(n[::-1])n,m=map(int,input().split())print(f(f(n)+……

蓝桥杯基础练习VIP-FJ的字符串Python版

摘要:解题思路:写出递推公式:A(N)=A(N-1)+B(N)+A(N-1)发现求的A(N)等于两端A(N-1)和中间B(N)的拼接。注意事项:参考代码:#蓝桥杯基础练习VIP-FJ的字符串Python解法……

用C语言征服幸运数

摘要:参考代码:#include<stdio.h>int main(){ int m,n;//定义变量m,n分别为左右端点  scanf("%d %d",&m,&n);//首次输入端点的值以确定下面要定义……