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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hi, thanks for taking the time to look at my problem. I'll make changes later.
I don't quite understand you. Can you show me an example?
Hi in dart there are tuples and there is a fixed array, what are these data structures for in this task?
The test headers were taken from python solution during translation
No, that's a bug. Fixed it. Thanks.
This comment is hidden because it contains spoiler information about the solution
I removed the backwards-compatibility from the sample tests and made the author's solution
static
. I am on the fence about removing it altogether. On the one hand, I do not like invalidating valid solutions with a change of interface, on the other hand I am aware that it should not get in the way of upgrading things and making interfaces more idiomatic.I can update it if you want, I usually do not alter it when patching old katas, to make sure I did not break anything.
erratum: the "kumite published with failed tests" can be bypassed for either of the test suites ("Test Cases" / "Sample Test Cases") by selecting the other test suite when publishing. that way, the other suite will be the one run against the solution when "publish" validates the code, and by the "View Run Output" button
this is still kind of a hack though
yes, but if the author's solution does not pass the sample tests, the kumite is "published with failed tests" and i'm not sure whether such kumites are approvable. i did not alter the author's solution, to make sure old solutions still work.
proposed fork also solving the other 2 C# issues
please, the snake case again ..
Looks good - thanks!
i fixed everything. the input array is now
const
-qualified. the tests do not alter it. it is printed upon failure. no more UB in the test suite. there is still a reference solution though, because i found it easier than generating the array from the answer.Loading more items...