通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
有以下程序
fun (int x) { int p; if(x==0||x==1) return(3); p=x-fun(x-2); return p; } main() { printf("%d\n",fun(7)); };
执行后的输出结果是