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.
Please don't post solutions in Discourse.
This comment is hidden because it contains spoiler information about the solution
Same issue in C.
@hobovsky noted this issue 5 years ago to think about, but perhaps they are still thinking :D
The C++ Description incorrectly states that for examples 1 and 3, the outputs should be: 9.2 and -2.398, even though the function returns an int.
nope, the problem description includes this:
if we're ever passed a list that includes non-numbers, it's the code calling our function that's breaking the contract, not us
Perl translation
kata solution != kata suggestion.
Also do not post solutions in discourse, let alone not marking the
spoiler
flagThis comment is hidden because it contains spoiler information about the solution
Didn't we have to consider that array element could be not a number?
This comment is hidden because it contains spoiler information about the solution
Merged, and arrow functions seem to work now.
The kata is currently in version
7.0
but arrow functions were introduced in7.4
.I made this fork updating the kata to version
8.0
. Please review before approving, this the first time I do php.I agree bobo kasi gumawa ng instruction nayan
:P
Loading more items...