freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-275-balanced-sculpt...

24 lines
822 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f4801000cf542c50ff92
title: 问题275平衡雕塑
challengeType: 5
videoUrl: ''
---
# --description--
让我们如下定义n阶平衡雕塑由n + 1个瓷砖组成的多边形称为块n个瓷砖和底座剩余瓷砖;底座的中心位置x = 0y = 0;块的y坐标大于零所以底座是唯一的最低瓦片;组合的所有块的质心具有等于零的x坐标。在对雕塑进行计数时任何仅仅是关于y轴的反射的布置都不算是不同的。例如6级平衡雕塑如下图所示;请注意每对镜像关于y轴都算作一个雕塑
有964个平衡雕塑订单10和360505订单15.有多少平衡雕塑有18个订单
# --hints--
`euler275()`应返回15030564。
```js
assert.strictEqual(euler275(), 15030564);
```
# --solutions--