Main.cc: In function ‘int main()’:
Main.cc:12:5: error: expected ‘,’ or ‘;’ before ‘int’
12 | int a[10000];
| ^~~
Main.cc:14:21: error: ‘a’ was not declared in this scope
14 | scanf("%d",&a[i]);
| ^
Main.cc:18:16: error: ‘a’ was not declared in this scope
18 | if(a[j]