sort #<algorithm> 用的时候一定是 从 第一个(你想要排序的范围内的) 到 最后一个+1 真的错了不止一次了 真的长点心吧 转载于:https://www.cnblogs.com/darlingroot/p/10163661.html