题解列表

筛选

n阶Hanoi塔问题

摘要:解题思路:注意事项:参考代码:def hanoi(n, a, b, c, count):    if n > 0:        count = hanoi(n-1, a, c, b, count) ……

炒鸡笨办法

摘要:解题思路:直接利用二维数组小白笨办法注意事项:没啥注意的,小白都会滴参考代码:#include <stdio.h>void input(int(*a)[100],int m,int n){    fo……

整数平均值(报错)

摘要:解题思路:注意事项在这个代码运行时,报错error ld returned 1 exit status这个问题其实我代码本身没有问题,是因为我上一个代码运行结果未关闭造成的报错。error ld re……

模拟计算器--java语言

摘要:解题思路:注意事项:输入字符的写法非nextChar() 正确写法为:next().charAt(0)参考代码:import java.util.Scanner; public class Ma……