摘要:
记录被LeetCode虐的日子 第一种方法:使用枚举 上面代码存在一个BUG,当提交到leetcode时,testcase为{3,2,4},target = 6时可以测出这个BUG。修改后的代码为 阅读全文
posted @ 2019-01-12 20:45
尚修能的技术博客
阅读(191)
评论(0)
推荐(0)
摘要:
``` / 输入一个指定点的数n,输出1 n的全排列,要求n using namespace std; int a[10]; int book[10]; int n; void dfs(int step); int main() { cout n; dfs(1); //站在第一个盒子前面 retur 阅读全文
posted @ 2019-01-12 17:51
尚修能的技术博客
阅读(139)
评论(0)
推荐(0)

浙公网安备 33010602011771号