Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68012 胡海峰老师 排列组合 Python3 Accepted 29 MS 3752 KB 151 2024-03-18 15:44:42

Tests(1/1):


Code:

import itertools a =['2','4','6','8'] b = itertools.permutations(a,3) cnt =0 for ele in b: print(''.join(ele)) cnt +=1 print( cnt )