C++ 全排列函数 std::next_permutation与std::prev_permutation
摘要:
C++ STL中提供了std::next_permutation与std::prev_permutation可以获取数字或者是字符的全排列,其中std::next_permutation提供升序、std::prev_permutation提供降序。1.std::next_permutation函数原... 阅读全文
posted @ 2014-04-14 15:19 旭东的博客 阅读(28040) 评论(0) 推荐(0)
浙公网安备 33010602011771号