freeCodeCamp/curriculum/challenges/portuguese/08-coding-interview-prep/project-euler/problem-206-concealed-squar...

874 B

id challengeType title videoUrl localeTitle
5900f43a1000cf542c50ff4d 5 Problem 206: Concealed Square Problema 206: Quadrado Escondido

Description

Encontre o inteiro positivo único cujo quadrado tem a forma 1_2_3_4_5_6_7_8_9_0, onde cada “_” é um dígito único.

Instructions

Tests

tests:
  - text: <code>euler206()</code> deve retornar 1389019170.
    testString: 'assert.strictEqual(euler206(), 1389019170, "<code>euler206()</code> should return 1389019170.");'

Challenge Seed

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

euler206();

Solution

// solution required