#include<stdio.h>int foo(int n){int i;if(n<3)return 1;for(i=0;i<n;i++){printf("%d\n",foo(n-1)+foo(n-2)); return foo(n-1)+foo(n-2);}}int main(){ printf("foo;%d\n",foo(2));return 0;}
慕码人8056858
回首忆惘然
相关分类