Run id: 80378

Main.cc: In function 'int main()':
Main.cc:10:12: error: 'i' was not declared in this scope
  max=min=a[i];
            ^