Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-388-distinct-lines.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
5900f4f11000cf542c510002 5 Problem 388: Distinct Lines 问题388不同的线条

Description

考虑所有格点abc其中0≤abc≤N。

从原点O0,0,0开始所有线都被绘制到其他格点。设DN是不同的这种线的数量。

您被给予D1 000 000= 831909254469114121。

找到D1010。将前9位数字后跟最后9位数字作为答案。

Instructions

Tests

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

Challenge Seed

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

euler388();

Solution

// solution required