题解列表

筛选

2的次幂表示,C语言

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>#include<stdlib.h>#include<stdbool……

python 非递归bfs

摘要:解题思路:求这种最短路径的迷宫问题基本上都可以用bfs来解决注意事项:这个地方需要记录路径,因此我们需要用到copy包中的deepcopy()参考代码:from copy import deepcop……

纯代码无注释

摘要:```cpp #include #include using namespace std; bool judge(int k) { string str=to_string(k);//数……

一点代码注释

摘要:```cpp #include #include #include using namespace std; int main() { int N; cin>>N; int d……

同因查找--java

摘要: import java.util.Scanner; public class 同因查找 { public static void main(String[] ……