摘要:
http://poj.org/problem?id=1833还是next_permutation.这次是Int类型的需要注意的是next_permutation是先判断时候有后继,返回一个bool值,如果为true,就转化到后继。而next_permutation函数本书不考虑其值,就具有转化成后继... 阅读全文
摘要:
http://poj.org/problem?id=1256题意是说求出一个字符串的全排列,按字典序需要注意的是字典序和传统意义上的字典序不同重新定义了,A#include #include #include #include #include #include using namespace st... 阅读全文