Run id: 116080
Main.cc: In function 'int main()':
Main.cc:5:22: error: expected ',' or ';' before 'max'
int n,a,b[100]={}max=0;anx=0;
^
Main.cc:5:28: error: 'anx' was not declared in this scope
int n,a,b[100]={}max=0;anx=0;
^
Main.cc:14:11: error: invalid operands of types 'int' and '' to binary 'operator>'
if(b[i]>max)
^
Main.cc:16:7: error: overloaded function with no contextual type information
max=b[i];
^
Main.cc:17:4: error: 'ans' was not declared in this scope
ans=i;
^
Main.cc:20:8: error: 'ans' was not declared in this scope
cout<