摘要: ```C++ void swap(char& a, char& b){ char temp = a; a = b; b = temp; } void pai(string& str, int start, int end, vector& res){ if(start == end){ string st = str; res.e... 阅读全文
posted @ 2018-08-29 18:24 一条图图犬 阅读(479) 评论(0) 推荐(0) 编辑
摘要: ```C++ void swap(char& a, char& b){ char temp = a; a = b; b = temp; } void perm(vector& vec, int start, int end, vector>& res){ if(start == end){ vector re(end, 0); fo... 阅读全文
posted @ 2018-08-29 16:46 一条图图犬 阅读(1689) 评论(0) 推荐(0) 编辑