diff --git a/斐波那契数列.c b/斐波那契数列.c deleted file mode 100644 index e9264a8..0000000 --- a/斐波那契数列.c +++ /dev/null @@ -1,17 +0,0 @@ -#include -int fib(int n) -{ - if(n==1||n==2) - return 1; - else - return fib(n-1)+fib(n-2); -} -int main() -{ - int n; - scanf("%d",&n); - int i; - for(i=1;i<=n;i++) - printf("%d ",fib(i)); - return 0; -}