摘要:
def allsort(): #全排列 temp=[] dfs(0,temp) def dfs(position,temp): if position==len(test): #每次添加够元素后(等于原集合长度)输出 print("输出排列:",temp) for i in test: #遍历tes 阅读全文
posted @ 2021-08-14 23:35
footmark89
阅读(45)
评论(0)
推荐(0)
浙公网安备 33010602011771号