摘要: 主要包括全排列和回溯两类,其中全排列可以递归与非递归,回溯也可以递归与非递归。于是加一起有4种解法。 #include <iostream> #include <algorithm> using namespace std; template <size_t N> struct ArraySizeHelper {char _[N];}... 阅读全文
posted @ 2012-10-04 23:26 紫红的泪 阅读(2119) 评论(0) 推荐(0) 编辑