freeCodeCamp/curriculum/challenges/portuguese/08-coding-interview-prep/project-euler/problem-279-triangles-with-...

954 B

id challengeType title videoUrl localeTitle
5900f4841000cf542c50ff96 5 Problem 279: Triangles with integral sides and an integral angle Problema 279: Triângulos com lados integrais e um ângulo integral

Description

Quantos triângulos existem com lados integrais, pelo menos um ângulo integral (medido em graus) e um perímetro que não exceda 108?

Instructions

Tests

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

Challenge Seed

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

euler279();

Solution

// solution required