0_0_21523055_10804.cpp: In function 'int main()':
0_0_21523055_10804.cpp:4:12: error: expected unqualified-id before '[' token
int n,m,a,[1001],t;
^
0_0_21523055_10804.cpp:9:12: error: invalid types 'int[int]' for array subscript
cin>>a[i];
^
0_0_21523055_10804.cpp:14:11: error: invalid types 'int[int]' for array subscript
if(a[i]>a[i+1]){
^
0_0_21523055_10804.cpp:14:18: error: invalid types 'int[int]' for array subscript
if(a[i]>a[i+1]){
^
|