package com.H;
public class fb {
public static void main (String []ages){
System.out.println(f(9));
public static long f(int index){
if(index==1 || index == 2){
return 1;
}
}
long f1=1L;
long f2=1L;
long f =0;
for(int i=0;i<index;i++){
f=f1+f2;
f1=f2;
f2=f;
}
return f;
}
}
望远
爱笑的毛毛虫
轻狂书生121
qq_平头的春天_0
taoy
慕的地6079101
相关分类