Run id: 151889
Main.cc: In function 'int main()':
Main.cc:5:18: error: expected ']' before '{' token
int M,a[10001{},max,min,b,i;
^
Main.cc:5:20: error: expected primary-expression before ',' token
int M,a[10001{},max,min,b,i;
^
Main.cc:5:29: error: 'b' was not declared in this scope
int M,a[10001{},max,min,b,i;
^
Main.cc:5:31: error: 'i' was not declared in this scope
int M,a[10001{},max,min,b,i;
^
Main.cc:7:20: error: 'm' was not declared in this scope
for(int i=1;i<=m;i++){
^
Main.cc:8:14: error: 'a' was not declared in this scope
cin>>a[i];
^
Main.cc:16:8: error: invalid operands of types '' and '' to binary 'operator-'
b=max-min;
^