导读 #includeint fib(int n){ if (n ==0 ) return 0; else if(n ==1) return 1;else{ return fib(n-1) + fib(n-2);}}void main(){int n;scanf("%d", &n);printf("fib(%d)=%d", n, fib(n));}。
#include
2024-06-30 18:10:15
#include