Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-184-triangles-containing-the-origin.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

43 lines
1.1 KiB
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: 5900f4241000cf542c50ff37
title: 问题184包含原点的三角形
challengeType: 5
videoUrl: ''
dashedName: problem-184-triangles-containing-the-origin
---
# --description--
考虑点xy的集合Ir其中半径为r的圆内部的整数坐标以原点为中心即x2 + y2 &lt;r2。对于半径为2I2包含九个点0,01,01,10,1 - 1,1 - 1,0 -1-10-11-1。在I2中有八个三角形具有全部三个顶点其中包含内部的原点。其中两个如下所示其他通过旋转从这些中获得。
对于半径为3有360个三角形包含内部的原点并且所有顶点都在I3中而对于I5该数字是10600。
有多少个三角形包含内部的原点并且在I105中包含所有三个顶点
# --hints--
`euler184()`应返回1725323624056。
```js
assert.strictEqual(euler184(), 1725323624056);
```
# --seed--
## --seed-contents--
```js
function euler184() {
return true;
}
euler184();
```
# --solutions--
```js
// solution required
```