0_0_33547645_9714.cpp:6:10: error: expected primary-expression before '=' token
#define N=3000005;
^
0_0_33547645_9714.cpp:7:15: note: in expansion of macro 'N'
long long fib[N] = { 1,2 };
^
0_0_33547645_9714.cpp:6:18: error: expected ']' before ';' token
#define N=3000005;
^
0_0_33547645_9714.cpp:7:15: note: in expansion of macro 'N'
long long fib[N] = { 1,2 };
^
0_0_33547645_9714.cpp:7:16: error: expected unqualified-id before ']' token
long long fib[N] = { 1,2 };
^
0_0_33547645_9714.cpp:6:10: error: expected primary-expression before '=' token
#define N=3000005;
^
0_0_33547645_9714.cpp:8:9: note: in expansion of macro 'N'
int fal[N];
^
0_0_33547645_9714.cpp:6:18: error: expected ']' before ';' token
#define N=3000005;
^
0_0_33547645_9714.cpp:8:9: note: in expansion of macro 'N'
int fal[N];
^
0_0_33547645_9714.cpp:8:10: error: expected unqualified-id before ']' token
int fal[N];
^
0_0_33547645_9714.cpp: In function 'void fi()':
0_0_33547645_9714.cpp:6:10: error: expected primary-expression before '=' token
#define N=3000005;
^
0_0_33547645_9714.cpp:11:22: note: in expansion of macro 'N'
for (int i = 2; i < N; i++)
^
0_0_33547645_9714.cpp:11:23: error: expected primary-expression before ';' token
for (int i = 2; i < N; i++)
^
0_0_33547645_9714.cpp:11:23: error: expected ')' before ';' token
0_0_33547645_9714.cpp:11:25: error: 'i' was not declared in this scope
for (int i = 2; i < N; i++)
^
0_0_33547645_9714.cpp: In function 'int main()':
0_0_33547645_9714.cpp:27:22: error: 'fib' was not declared in this scope
a += fib[i];
^
0_0_33547645_9714.cpp:34:22: error: 'fib' was not declared in this scope
b += fib[i];
^
0_0_33547645_9714.cpp:39:18: error: 'fal' was not declared in this scope
cin>>fal[i];
^
0_0_33547645_9714.cpp:41:22: error: 'fib' was not declared in this scope
c += fib[i];
^
0_0_33547645_9714.cpp:47:16: error: 'fal' was not declared in this scope
if(fal[i] == 0){
^
0_0_33547645_9714.cpp:48:34: error: 'fib' was not declared in this scope
long long w = c +fib[i];
^
|