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.
Best solution!
Simple but powerful
Not an issue, 1.6K ppl completed the kata in JS
Resolved.
The kata creator is sloppy and the display message actually uses
May 13
instead ofMay 3
(which is what was being tested), hence all the confusion.i.e Your code is wrong because you didn't account for 1 digit days.
a ready-to-go test-case in the editor would be nice.
hi, lately i stumble about weird validator errors thats stopping me from solving the puzzles -
this time its "not in my house - Expected: false, instead got: true" - i suppose my program is tested against the string given in the console output, which is really strange, since my code returns "false" !!
please check your tests, so we can finish the kata :-)
thank you. got it solved :-)
This has happened to me before and may be a server issue or small bug somewhere.
random bugs gives recipes with lots of cakes to bake - but expects zero cakes
Test says - no cake possible, although there could be made 3 :-(
recipe = {"flour":22,"nuts":44,"eggs":98} ;
available = {"flour":6700,"oil":3200,"milk":8900,"chocolate":8400,"apples":500,"crumbles":5800,"sugar":4300,"cocoa":8600,"butter":7900,"eggs":300,"cream":2000,"nuts":200,"pears":5500};
This comment is hidden because it contains spoiler information about the solution
Try printing the input in the function, as well as your output.
And see if you can figure out when&why your function is returning the wrong result.
Doing the problem by hand for the failing values might speed up the search.
If you are still stuck, post your code here.
passed all the tests and passed 6 out of 12 in trying to submit my result in javascript
cannot find the reason :-(
Might be a whitespace problem(browsers hide those).
Make sure there are no extra spaces at the start or end of your output string.
If you still face the same problem, post your code here(mark it as spoiler).
Expected result: The Despicable Raisin; Your result: The Despicable Raisin
?!
Loading more items...