题解列表

筛选

python解出来了

摘要:解题思路:注意事项:参考代码:ls=[]ls = list(input().strip().split())z = len(ls[0])b = 0for i in ls:    if len(i) >……

分解质因数暴力法(python)

摘要:解题思路:先构建一个ls数组,将3到b+1所有的素数找出并存入,注意事项:参考代码:a,b=map(int,input().split())ls=list()ls.append(2)for i in ……

迷宫问题BFS解法

摘要:```cpp 利用队列的方法做 #include using namespace std; const int N=110; char a[N][N];//该数组用来接收字符 int ……

二级C语言-成绩归类

摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ int a,num1=0,num2 = 0,num3 = 0; while (scanf("%d", &a) && a>……

模拟麻烦 找规律

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>#include <math.h>using namespace std;int a[100……

c++题解(凑字数)

摘要:好的比坏的多,那么就有一半以上的测试结果是正确的,那么就是一半以上的测试结果是一样的 ```cpp #include #include #include #include using ……

菜鸡的题解019——入学考试

摘要:类型题,01背包问题。附一个自认为讲的很好的视频https://www.bilibili.com/video/BV1kp4y1e794参考代码:#include<iostream> #include……