摘要:
Code:class Solution {public: int maxDep; vector buf; // pack numbers into an array vector> res; // pack arrays into an result void dfs(int dep, vector &valid, vector &num){ if(dep==maxDep){ res.push_back(buf); return; } for(int i=0; ... 阅读全文