| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 85286 | 彭士宝 | 排列组合 | Python3 | Wrong Answer | 32 MS | 3764 KB | 220 | 2024-07-16 21:16:27 |
import itertools digits = [2, 4, 6, 8] three_digit_permutations = itertools.permutations(digits, 3) for perm in three_digit_permutations: print(''.join(map(str, perm))) print(len(list(three_digit_permutations)))
------Input------
4 2 3 0
------Answer-----
246 248 264 268 284 286 426 428 462 468 482 486 624 628 642 648 682 684 824 826 842 846 862 864 24
------Your output-----
246 248 264 268 284 286 426 428 462 468 482 486 624 628 642 648 682 684 824 826 842 846 862 864 0