运行 ID: 36409

Main.cc: In function ‘int mian()’:
Main.cc:8:6: error: ‘a’ was not declared in this scope
 sort(a+1,a+1+n);
      ^
Main.cc:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
Main.cc: At global scope:
Main.cc:20:1: error: expected unqualified-id before ‘return’
 return 0;
 ^~~~~~