Run id: 106087

Main.cc: In function 'int main()':
Main.cc:28:12: error: invalid operands of types 'int' and '' to binary 'operator!='
   if(a[i]!=max){
            ^