int f(int n){ if(n<=4) return n*n; else return f(n-4)*f(n-1)-f(n-2)*f(n-2);

2025-04-13 15:57:29
推荐回答(1个)
回答(1):

不用递归调用就是进行优化了,递归调用的耗时较多