摘要: DNA Sorting Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 95437 Accepted: 38399 Description One measure of ``unsortedness'' in a sequence 阅读全文
posted @ 2016-07-05 15:02 琴影 阅读(207) 评论(0) 推荐(0)
摘要: C++ STL中提供了std::next_permutation与std::prev_permutation可以获取数字或者是字符的全排列,其中std::next_permutation提供升序、std::prev_permutation提供降序。 1.std::next_permutation函数 阅读全文
posted @ 2016-07-05 09:06 琴影 阅读(337) 评论(0) 推荐(0)