0_0_31988631_26552.cpp:13:2: error: stray '#' in program
long long int s[60]={0,1};//由于要多次运算,用一个全局数组保存后直接查询即可,最省时间
^
0_0_31988631_26552.cpp:13:8: error: stray '#' in program
long long int s[60]={0,1};//由于要多次运算,用一个全局数组保存后直接查询即可,最省时间
^
0_0_31988631_26552.cpp:13:15: error: stray '#' in program
long long int s[60]={0,1};//由于要多次运算,用一个全局数组保存后直接查询即可,最省时间
^
0_0_31988631_26552.cpp:14:2: error: stray '#' in program
for(int i=2;i<=60;i++){
^
0_0_31988631_26552.cpp:14:8: error: stray '#' in program
for(int i=2;i<=60;i++){
^
0_0_31988631_26552.cpp:14:15: error: stray '#' in program
for(int i=2;i<=60;i++){
^
0_0_31988631_26552.cpp:15:2: error: stray '#' in program
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:8: error: stray '#' in program
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:15: error: stray '#' in program
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:21: error: stray '#' in program
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:27: error: stray '#' in program
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:34: error: stray '#' in program
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:16:2: error: stray '#' in program
}
^
0_0_31988631_26552.cpp:16:8: error: stray '#' in program
}
^
0_0_31988631_26552.cpp:16:15: error: stray '#' in program
}
^
0_0_31988631_26552.cpp:17:2: error: stray '#' in program
int n;
^
0_0_31988631_26552.cpp:17:8: error: stray '#' in program
int n;
^
0_0_31988631_26552.cpp:17:15: error: stray '#' in program
int n;
^
0_0_31988631_26552.cpp:18:2: error: stray '#' in program
while(cin>>n,n!=-1){
^
0_0_31988631_26552.cpp:18:8: error: stray '#' in program
while(cin>>n,n!=-1){
^
0_0_31988631_26552.cpp:18:15: error: stray '#' in program
while(cin>>n,n!=-1){
^
0_0_31988631_26552.cpp:19:2: error: stray '#' in program
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:8: error: stray '#' in program
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:15: error: stray '#' in program
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:21: error: stray '#' in program
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:27: error: stray '#' in program
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:34: error: stray '#' in program
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:20:2: error: stray '#' in program
}
^
0_0_31988631_26552.cpp:20:8: error: stray '#' in program
}
^
0_0_31988631_26552.cpp:20:15: error: stray '#' in program
}
^
0_0_31988631_26552.cpp:21:2: error: stray '#' in program
return 0;
^
0_0_31988631_26552.cpp:21:8: error: stray '#' in program
return 0;
^
0_0_31988631_26552.cpp:21:15: error: stray '#' in program
return 0;
^
0_0_31988631_26552.cpp: In function 'int main()':
0_0_31988631_26552.cpp:13:3: error: lvalue required as unary '&' operand
long long int s[60]={0,1};//由于要多次运算,用一个全局数组保存后直接查询即可,最省时间
^
0_0_31988631_26552.cpp:13:9: error: lvalue required as unary '&' operand
long long int s[60]={0,1};//由于要多次运算,用一个全局数组保存后直接查询即可,最省时间
^
0_0_31988631_26552.cpp:13:16: error: lvalue required as unary '&' operand
long long int s[60]={0,1};//由于要多次运算,用一个全局数组保存后直接查询即可,最省时间
^
0_0_31988631_26552.cpp:14:3: error: lvalue required as unary '&' operand
for(int i=2;i<=60;i++){
^
0_0_31988631_26552.cpp:14:9: error: lvalue required as unary '&' operand
for(int i=2;i<=60;i++){
^
0_0_31988631_26552.cpp:14:16: error: lvalue required as unary '&' operand
for(int i=2;i<=60;i++){
^
0_0_31988631_26552.cpp:15:3: error: lvalue required as unary '&' operand
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:9: error: lvalue required as unary '&' operand
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:16: error: lvalue required as unary '&' operand
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:22: error: lvalue required as unary '&' operand
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:28: error: lvalue required as unary '&' operand
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:15:35: error: lvalue required as unary '&' operand
s[i]=s[i-1]+s[i-2];
^
0_0_31988631_26552.cpp:16:3: error: lvalue required as unary '&' operand
}
^
0_0_31988631_26552.cpp:16:9: error: lvalue required as unary '&' operand
}
^
0_0_31988631_26552.cpp:16:16: error: lvalue required as unary '&' operand
}
^
0_0_31988631_26552.cpp:17:3: error: lvalue required as unary '&' operand
int n;
^
0_0_31988631_26552.cpp:17:9: error: lvalue required as unary '&' operand
int n;
^
0_0_31988631_26552.cpp:17:16: error: lvalue required as unary '&' operand
int n;
^
0_0_31988631_26552.cpp:18:3: error: lvalue required as unary '&' operand
while(cin>>n,n!=-1){
^
0_0_31988631_26552.cpp:18:9: error: lvalue required as unary '&' operand
while(cin>>n,n!=-1){
^
0_0_31988631_26552.cpp:18:16: error: lvalue required as unary '&' operand
while(cin>>n,n!=-1){
^
0_0_31988631_26552.cpp:19:3: error: lvalue required as unary '&' operand
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:9: error: lvalue required as unary '&' operand
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:16: error: lvalue required as unary '&' operand
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:22: error: lvalue required as unary '&' operand
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:28: error: lvalue required as unary '&' operand
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:19:35: error: lvalue required as unary '&' operand
cout<<s[n]<<endl;
^
0_0_31988631_26552.cpp:20:3: error: lvalue required as unary '&' operand
}
^
0_0_31988631_26552.cpp:20:9: error: lvalue required as unary '&' operand
}
^
0_0_31988631_26552.cpp:20:16: error: lvalue required as unary '&' operand
}
^
0_0_31988631_26552.cpp:21:3: error: lvalue required as unary '&' operand
return 0;
^
0_0_31988631_26552.cpp:21:9: error: lvalue required as unary '&' operand
return 0;
^
0_0_31988631_26552.cpp:21:16: error: lvalue required as unary '&' operand
return 0;
^
|