LeetCode内对vector元素排序。std::sort(nums.begin(), nums.end());
vector
原文:http://www.cnblogs.com/hozhangel/p/7827805.html