2.0 KiB
id | challengeType | title |
---|---|---|
5900f4251000cf542c50ff38 | 5 | Problem 185: Number Mind |
Description
For instance, given the following guesses for a 5-digit secret sequence, 90342 ;2 correct 70794 ;0 correct 39458 ;2 correct 34109 ;1 correct 51545 ;2 correct 12531 ;1 correct The correct sequence 39542 is unique.
Based on the following guesses,
5616185650518293 ;2 correct 3847439647293047 ;1 correct 5855462940810587 ;3 correct 9742855507068353 ;3 correct 4296849643607543 ;3 correct 3174248439465858 ;1 correct 4513559094146117 ;2 correct 7890971548908067 ;3 correct 8157356344118483 ;1 correct 2615250744386899 ;2 correct 8690095851526254 ;3 correct 6375711915077050 ;1 correct 6913859173121360 ;1 correct 6442889055042768 ;2 correct 2321386104303845 ;0 correct 2326509471271448 ;2 correct 5251583379644322 ;2 correct 1748270476758276 ;3 correct 4895722652190306 ;1 correct 3041631117224635 ;3 correct 1841236454324589 ;3 correct 2659862637316867 ;2 correct
Find the unique 16-digit secret sequence.
Instructions
Tests
tests:
- text: <code>euler185()</code> should return 4640261571849533.
testString: assert.strictEqual(euler185(), 4640261571849533, '<code>euler185()</code> should return 4640261571849533.');
Challenge Seed
function euler185() {
// Good luck!
return true;
}
euler185();
Solution
// solution required