algorithm #include <stdio.h> #include < algorithm> using namespace std; sort(首元素地址,尾元素地址的下一个地址,比较函数) 前两个必有,第三个可没有,默认递增排序