#include < algorithm >中的sort( ),完美的实现了这个快速排序。 std::vector大法好!很多情况下,vector是顺序容器的不二选择。#include < vector >就可以使用了。
確定! 回上一頁