Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-210-obtuse-angled-triangles.chinese.md
Kristofer Koishigawa b3213fc892 fix(i18n): chinese test suite (#38220)
* fix: Chinese test suite

Add localeTiltes, descriptions, and adjust test text and testStrings to get the automated test suite working.

* fix: ran script, updated testStrings and solutions
2020-03-03 18:49:47 +05:30

1.0 KiB
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f43e1000cf542c50ff50 5 Problem 210: Obtuse Angled Triangles 问题210钝角三角形

Description

考虑点xy的集合Sr其中整数坐标满足| x | + | y | ≤r。设O为点0,0C为点r / 4r / 4。令Nr为Sr中的点B的数量使得三角形OBC具有钝角即最大角度α满足90°<α<180°。因此例如N4= 24并且N8= 100。

什么是N1,000,000,000

Instructions

Tests

tests:
  - text: <code>euler210()</code>应该返回1598174770174689500。
    testString: assert.strictEqual(euler210(), 1598174770174689500);

Challenge Seed

function euler210() {
  // Good luck!
  return true;
}

euler210();

Solution

// solution required