0_0_20752699_5763.cpp:3:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_20752699_5763.cpp:3:21: error: expected identifier before '&' token
using namespace std;
^
0_0_20752699_5763.cpp:3:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20752699_5763.cpp:3:27: error: 'std' does not name a type
using namespace std;
^
0_0_20752699_5763.cpp:4:5: error: 'nbsp' declared as reference but not initialized
int main()
^
0_0_20752699_5763.cpp: In function 'int main()':
0_0_20752699_5763.cpp:6:23: error: 'nbsp' declared as reference but not initialized
int n;
^
0_0_20752699_5763.cpp:6:28: error: 'n' was not declared in this scope
int n;
^
0_0_20752699_5763.cpp:7:27: error: conflicting declaration 'long long int& nbsp'
__int64 dp[40];
^
0_0_20752699_5763.cpp:6:23: note: previous declaration as 'int& nbsp'
int n;
^
0_0_20752699_5763.cpp:7:32: error: 'dp' was not declared in this scope
__int64 dp[40];
^
0_0_20752699_5763.cpp:9:27: error: 'nbsp' declared as reference but not initialized
for(int i=3;i<=40;i++)dp[i]=2*(dp[i-1]+dp[i-2]);
^
0_0_20752699_5763.cpp:9:32: error: 'i' was not declared in this scope
for(int i=3;i<=40;i++)dp[i]=2*(dp[i-1]+dp[i-2]);
^
0_0_20752699_5763.cpp:9:41: error: expected ')' before ';' token
for(int i=3;i<=40;i++)dp[i]=2*(dp[i-1]+dp[i-2]);
^
0_0_20752699_5763.cpp:9:42: error: 'i' was not declared in this scope
for(int i=3;i<=40;i++)dp[i]=2*(dp[i-1]+dp[i-2]);
^
0_0_20752699_5763.cpp:14:26: error: invalid conversion from 'int*' to 'int' [-fpermissive]
return 0;
^
|