Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Should be fixed now.
D language sort result error:
Expected Tuple!(uint[], uint)([23, 4, 13, 7], 188)
But got Tuple!(uint[], uint)([23, 13, 7, 4], 188), tupleEqual(actual, expected) should equal true.
The same trouble.
"j6X2uPtwNluGqqVyAGVURCSwWBZHkWaIxzsamyEf2N4xjBMvo5I7icrVZpeRX5jqqrheXo4u6Gym7NSUkja0G" - expected 25, my result 27
"k0D9FXVzR9Pua6RXoM9yRFc4osh0MQWNVOrxoQwXdlqkntbYmopB7utSm7FcPY3QtGthJN2gI" - expected 22, my resul 23
"kwNYz9JLtOiFcEmHiINTKoOFHhbbDKnddG4Lqu09c2koyMoGbkbbhnXEMLKAxr9Sk" - expected 18, my result 17
Thanks.
You forgot 21 in the list of divisors.
Why for values from 440 to 543 number 441 not in result, expected - 470, 476, 480, 506, 510, 527, 531?
For 441 primes - 3, 3, 7, 7, sum - 20, divisors - 1, 3, 7, 9, 49, 63, 147, 441, sum - 720.
720/20 = 36.
D language
source/solution_test.d(3,8): Error: module
solution
importadd
not found/usr/bin/dmd failed with exit code 1.
D language, fixed tests OK. Atemp crashes with -> STDERR: Program exited with code -11.
This comment is hidden because it contains spoiler information about the solution
Yes, unless that letter is already accounted for in the guess, please see the special rule at the bottom of the kata description for the explanation.
Does symbol '-' in pattern mean no letter in the word?
Hi. The feedback for CAULK given the guess ALOED would be YY--- because of the misplaced A & L. Therefore, while guessing SHAKE would yield --YY- for the word CAULK, it fails to match the condition ALOED/Y----.
My pattern 'A' not in 0 and not in 2 posions, 'K' not in 3 position so my result - {'KAYAK', 'CAULK', 'SKEAR', 'SKEAN'}.
Why is {'KAYAK'} the only result for [('SHAKE', '--YY-'), ('ALOED', 'Y----')]?