运行 ID: 101585

Main.cc: In function ‘int main()’:
Main.cc:12:6: error: ‘i’ was not declared in this scope
  for(i=1;i<=n-1;i++)
      ^
Main.cc:18:12: error: overloaded function with no contextual type information
     min=a[j];
            ^
Main.cc:24:6: error: ‘i’ was not declared in this scope
  for(i=1;i<=n;i++)
      ^