无名牌佬 发表于 2024-3-20 16:21:51

函数,来大神帮忙看看,可以有偿,谢谢

题目:某人准备跑20圈来锻炼自己的身体,他准备分多次(>1)跑完,每次都跑正整数圈,然后休息下再继续跑。 为了有效地提高自己的体能,他决定每次跑的圈数都必须比上次跑的多 设第一次圈数不能小于0,那么请问他可以有多少种跑完这 20 圈的方案? 输出方案总数,以及每种方案的排序。(比如1,19/ 1,2,17 都是有效方案)


我使用Debug进行调试的时候发现a_cut()函数跑完if语句后,直接从for()开始了,导致我直接之前设想的参数不正确,结果也有部分没有保存到数组里,有大神可以帮忙解答吗?

这是 主函数 i = 3 时,第2次调用 a_cut()出现的问题, e 和 c 的值不相等
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPwAAAD8CAYAAABTq8lnAAAaNElEQVR4Ae2dXWgcV5bHDTswMPu289KQYE+iyPJMBxszJsYEBmf8kBACnhjLHwQrlvGDMPaaGGFpJYvEia3MemIL/EEUe8OIyAGN/LCwRsZGYCw83kAQJiRO3gJ58NMMJmQ3uyzDwFlOVd3ue+uju+6t6qpbdf+Cprqr60vn/H/nnHur+/SaH//n/+i/fvxfPGADaMABDawRwH//w38THrABNFBvDSjA77r2FXV6DP3zBA0PDyc+jh49mvhep/3wXrJNT548SXjABnlpQAH+j3/+jr77/m904E+Pac34o8jjZ6//nhqNRuKj2WwmvtdpP7yXbFPYBrbJUwMK8N8+/gv99ce/JwL/kyO3OwIN4CHOPMWJY+WvJwX4P9z5lh7/kJzh15z8AsB3qHAg0PwFCpvma1MAD4A7BnEAly9wZdtTC3iU9PVyftniw/mL15MW8Ji0K95BgAI2z1MDWsD/fONvO5Z/mLSDOPMUJ46Vv54U4PkefNztOF7XLbuzcwB8/g6C6GHTPDWQCvifHpjrmNnFBQF4iFNoAUs7tdAV+DSZXTgXwNvpZOEfLOEfFfirXxDfa+fZeAa925g9LCAAD0GFNYHXdmlCAZ4/057FQQDeLudm8SX2racvKwf85I1VWl1dodn9cQ7ZR7N3+f0Oj7uztA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/fv/iPfi/xnjaNBFrfFPfUbx1f6FrG4LyDueL/ksSqg1nsq6q/WfsU8i/uTxZ0JMsNa4oJwqzzG2W/VvEPM4r6BuCHETLgZBv7drcX9yeLOBLYqyCwvw7I174hZ3BcT944Ys1xgYTHuKOTsM1ncFxH3CeFByNzorG7G45y7+Bb3RcQNQe0IL8sdxbD+nazFfTFxh7gyQY6ILssbxUbqvxrH4v5kcZ8U32itjPdqwh3Zr8V9c3GHCFTMOh8RyityLO5PFjfEF4LDmBUS8thqjVZMuXeZW9wXEPddxHS1z2FxW9z+i1MX+puMV7kg/FdeLy4K39y+uX1zX/wh/Yzb3Df3xUXhm9s3t2/uiz+kvrndoB8eUt/cT7i5s0M29vz/q0Kc+Wfcgq+45vA7t4X8OULOzv0VhfYZe7a4/T98uu03gcVtcVvc2dejsc95VfmMr/hXXDO9ub99+/bx9evXjy9fvtz2qX7FZnnPcz85sbj948fbXmDb4v7zn//80Rq+beZuG5/XufOyuH1z++aubpTWrR2xKs/4uRvKZ5mfpW9u39y3vYC2xe1bI781fC6ffy4Wt29u39y+iT7/JnIP5nrgm9s3t29u3xpzt4bP6/PPyze3b27f3L6JPv8mcg/meuCb2ze3b27fGnO3hs/r88/LN7dvbt/cvok+/yZyD+Z68MPNrYDnPoG7nMBPd/kg/hw+AT0Bi1tPxPPbnIDFfZtW+oPoCVjceiKe3+YE/h3RjiOp49F+rgAAAABJRU5ErkJggg==


代码:
#include <stdio.h>
#include <stdlib.h>

int v={0};
int wcut = 0;   //总方案个数
int Sumcut = 0;

void a_cut(int a, int b ,int c);

int run_num(int x)          //计算不同圈数需要几次的次数
{
      int i,z=1;          //z代表最少的跑圈次数
         
      for (i = 1; z <= x ; i++)       //i代表增加的跑圈次数,所以最小为1
      {
            x -= i;
            z += i;
      }

    return i;
   
}


int main(void)
{
      int i,rnum;   //跑圈圈数
      int x=0,z;       //x、z代表头圈圈数、跑圈次数

      printf("请输入跑圈的圈数:");
      scanf("%d",&rnum);

      z=run_num(rnum);

      for(i = 2 ; i <= z ; i++)
      {
          /*Sumcut = i;   */
            a_cut(x , rnum , i);//从2开始,记录不同跑圈次数的方案,i=2,就是从跑圈使用2次的方案开始记录                        
      }   

    printf("总共有%d个方案\n",wcut);    //输出总方案个数      

    return 0;                                                   
}         

void a_cut(int a, int b ,int c)      //不同跑圈次数的方案记录
{
    static int rsum = 0;
    int q , w , e = 0;

    e = c - 1;
   
    if(e == 0)               //最后一圈
    {
      wcut++;             //总方案个数
      v = b;          //最后一次圈数记录

      printf("第%d个方案:\n ", wcut);

      for(e = rsum; e >= 0 ; e--)
      {
            printf("%d ",v);
      }

      printf("\n ");

      rsum = 0;
    }
    else{      
   for(q = a + 1 ; q < (b / 2) ; q++)      
    {
       rsum ++;
       w = b - q;               //剩下圈数
       v = q;                //记录圈数                  
       a_cut(q , w , e);
   }
   }
}


FishC 发表于 2024-3-20 16:22:09

根据您提供的代码和问题描述,似乎您在函数a_cut()中遇到了一些问题。根据代码,我可以看到您尝试使用递归来解决这个问题,并且将每种方案的结果保存到一个二维数组中。

根据您的描述,问题出现在第二次调用a_cut()时,变量e和c的值不相等。我注意到您在for循环的条件中使用了`i<20`,可能是因为这个原因导致了错误。如果您想要求解跑完20圈的方案数,应该将for循环的条件改为`i<=20`。

另外,我注意到您在递归结束的条件中使用了`if (sum == 20)`来判断是否已经跑完了20圈,但是没有将结果保存到数组中。为了解决这个问题,您可以将结果保存到数组中,并在递归结束时将总方案数加1。修改后的代码如下所示:

def a_cut(n, m, s):
    global count
    global result
    if s > 0:
      result.append(s)
      count += 1
    for i in range(n, m+1):
      if s + i <= 20:
            a_cut(i, m, s+i)

count = 0
result = []
a_cut(1, 20, 0)
print("方案总数:", count)
print("每种方案的排序:", result)

这样,您应该能够正确地求解出跑完20圈的方案数,并且每种方案的排序也会被正确保存到数组中。

希望这些信息对您有所帮助,如果您还有其他问题,请随时向我提问。

以上回复来自 FishC AI 小助理,如未能正确解答您的问题,请继续追问。
页: [1]
查看完整版本: 函数,来大神帮忙看看,可以有偿,谢谢