Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-118-pandigital-prime-sets.md

22 lines
496 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: 5900f3e21000cf542c50fef5
title: 问题118Pandigital prime set
challengeType: 5
videoUrl: ''
---
# --description--
使用所有数字1到9并自由地连接它们以形成十进制整数可以形成不同的集合。有趣的是集合{2,5,47,89,631}属于它的所有元素都是素数。包含每个数字1到9的多少个不同的集合只包含主要元素
# --hints--
`euler118()`应返回44680。
```js
assert.strictEqual(euler118(), 44680);
```
# --solutions--