题解列表

筛选

整数平均值(报错)

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

炒鸡笨办法

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

n阶Hanoi塔问题

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

三个数比较大小

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int *bigger(int *a, int *b){    if(*a >= *b)    {        return a;  ……