第二题 next_permutation
第三题 dfs一直超出内存限制,case 20%,很难受