http://judge.codingtang.com/problem/1761/
直接调用系统快排即可。
sort(a+1,a+n+1);
头文件:#include<algorithm>
1
c++吗?
n是啥,a又是啥??@贾文卓