题解列表

筛选

三进制小数 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> using namespace std; int mai……

Minesweeper (Java代码)

摘要:解题思路:1.输入就不说了,把它放到char的二维数组里面2.循环遍历,如果不是&#39;*&#39;,就把它赋值为&#39;0&#39;3.循环遍历,如果他是&#39;*&#39;,把它的上下左右,……

半数集问题 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; int a[1005]; int f(int ……

幸运儿 (Java代码)

摘要:解题思路:注意事项:参考代码: public class 幸运儿 { public static void main(String[] args) { // TODO Auto-gen……

大小写转换 (C++代码)

摘要:解题思路:注意事项:参考代码:#include <iostream> #include<string> using namespace std; int main() {     str……

字符排列问题 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; char a[25]; int b[26]; ……

【魔板】 (C++代码)

摘要:解题思路:对于这个问题来说,一共有三种操作,最终输出的结果又是最小的步骤  所以采用bfs进行暴力破解题目是多组数据进行输入,所以用while循环进行输入,接下来基本上就是套用bfs暴力破解的魔板直接……