1004: [递归]母牛的故事\\\\\\ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int mn(int a){ if(a==1||a==2||a==3) { …… 题解列表 2025年01月23日 7 点赞 0 评论 2455 浏览 评分:0.0
T1004 母牛递归 摘要:解题思路:注意事项:参考代码:def f(n): if m[n]!=0: return m[n]  …… 题解列表 2025年05月01日 2 点赞 0 评论 1505 浏览 评分:0.0
用主函数调用void函数进行解题 摘要:解题思路:main函数调用void,再用指针进行传参注意事项:指针要取地址,结果要换行参考代码:#include<stdio.h>void cow(int n,int* sum){//通过…… 题解列表 2025年11月08日 2 点赞 0 评论 335 浏览 评分:0.0