0_0_39029071_15835.cpp: In function 'int main()':
0_0_39029071_15835.cpp:12:7: error: 'i' was not declared in this scope
12 | for(i=0;i<N-1;i++){
| ^
0_0_39029071_15835.cpp:12:13: error: 'N' was not declared in this scope
12 | for(i=0;i<N-1;i++){
| ^
0_0_39029071_15835.cpp:16:9: error: invalid types 'int[int]' for array subscript
16 | if(a[j]>a[j+1])
| ^
0_0_39029071_15835.cpp:16:14: error: invalid types 'int[int]' for array subscript
16 | if(a[j]>a[j+1])
| ^
0_0_39029071_15835.cpp:17:12: error: invalid types 'int[int]' for array subscript
17 | t=a[j];
| ^
0_0_39029071_15835.cpp:18:10: error: invalid types 'int[int]' for array subscript
18 | a[j]=a[j+1];
| ^
0_0_39029071_15835.cpp:18:15: error: invalid types 'int[int]' for array subscript
18 | a[j]=a[j+1];
| ^
0_0_39029071_15835.cpp:19:10: error: invalid types 'int[int]' for array subscript
19 | a[j+1]=t;
| ^
|