Files
freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-63-powerful-digit-counts.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

836 B
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f3ab1000cf542c50febe 5 Problem 63: Powerful digit counts 问题63强大的数字计数

Description

5位数字16807 = 75也是第五种力量。类似地9位数字134217728 = 89是第九次幂。存在多少个n位正整数它们也是n次幂

Instructions

Tests

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

Challenge Seed

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

euler63();

Solution

// solution required