Run id: 123640

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:15:13: error: 'z' was not declared in this scope
             z=i;
             ^
Main.cc:18:5: error: 'cout' was not declared in this scope
     cout<