摘要:
''' 这个程序不是很有效率,程序中的’if f not in e:‘会产生许多的开销,不是很好,也较难扩展到当L中有重复元素的情况 ''' def permutation_1(L,k): def product2(R,L): R1=[] if R==[[]]: for e in L:R1.appe 阅读全文
posted @ 2021-11-27 11:04
近知
阅读(34)
评论(0)
推荐(0)
浙公网安备 33010602011771号