你好,我是 zycEthan ,我这里怎么全 Compile Error ?
帮我找一下错在哪里了。
代码晒上!
#include <bits/stdc++.h>
using namespace std;
int main(){
int f[50]={1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765,10946,17711,28657,46368,75025,121393,196418,317811,514229,832040,1346269,1346269};
int T,a;
cin >> T;
while(T--){
cin >> a;
cout << Fib[a] << endl;
}
return 0;
}
十分感谢!!!