Use sort to sort: the header file #include<algorithm> is required, sort(vec.begin(),vec.end()); (The default is to sort in ascending order, that is, from small ...
確定! 回上一頁