2.2 KiB
2.2 KiB
id, challengeType, videoUrl, title
id | challengeType | videoUrl | title |
---|---|---|---|
5900f5191000cf542c51002b | 5 | 问题428:圆圈项链 |
Description
如果可以放置 k,则三元组( a , b , c )被称为项链三元组</ em>。 ≥3个不同的圆C 1 ,C 2 ,...,C k :
Instructions
Tests
tests:
- text: <code>necklace(1000000000)</code>应该返回747215561862。
testString: assert.strictEqual(necklace(1000000000), 747215561862);
Challenge Seed
function necklace(n) {
// Good luck!
return true;
}
necklace(1000000000)
Solution
// solution required
/section>