Run id: 123646
Main.cc: In function 'int main()':
Main.cc:6:5: error: expected initializer before 'for'
for(int i=1;i<=10;i++)
^
Main.cc:6:17: error: 'i' was not declared in this scope
for(int i=1;i<=10;i++)
^
Main.cc:12:12: error: 'a' was not declared in this scope
if(a[i]=max)
^
Main.cc: In function 'int main()':
Main.cc:23:5: error: redefinition of 'int main()'
int main()
^
Main.cc:3:5: note: 'int main()' previously defined here
int main()
^
Main.cc:26:5: error: expected initializer before 'for'
for(int i=1;i<=10;i++)
^
Main.cc:26:17: error: 'i' was not declared in this scope
for(int i=1;i<=10;i++)
^
Main.cc:32:12: error: 'a' was not declared in this scope
if(a[i]=max)
^