0_0_16094127_2436.cpp: In function 'int main()':
0_0_16094127_2436.cpp:7:13: error: invalid types 'int[int]' for array subscript
a[n]=n;
^
0_0_16094127_2436.cpp:9:16: error: invalid types 'int[int]' for array subscript
a[n]=a[n-1]+a[n-3];
^
0_0_16094127_2436.cpp:9:23: error: invalid types 'int[int]' for array subscript
a[n]=a[n-1]+a[n-3];
^
0_0_16094127_2436.cpp:9:30: error: invalid types 'int[int]' for array subscript
a[n]=a[n-1]+a[n-3];
^
0_0_16094127_2436.cpp: At global scope:
0_0_16094127_2436.cpp:15:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_16094127_2436.cpp:16:1: error: expected declaration before '}' token
}
^
|