Run id: 122041

Main.cc: In function 'int main()':
Main.cc:19:11: error: invalid types 'int[int]' for array subscript
    max=a[i];
           ^