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.
I solved it, but still, such error messages are very confusing
I get these errors where actual is the same as expected:
The test design creates an implicit requirement that isn't stated in the problem description - solutions must cache results between test executions to pass within time constraints. This favors O(n²) algorithms with caching over potentially more efficient algorithms without caching. ( there is no really efficient algorithms among the solutions. )
The code length limit seems to disfavor code commenting, what seems to be bad idea from learning perspective. Comments should not be counted.
Meaningful variable names are discouraged by the code length limit.
Kata discourse is never the correct place for these complaints. Take it to Discord, or raise an issue here.
Considering that exceedingly few kata have been reranked ever, you could also just leave it be.
Note: I DO NOT MAKE THE RULES, this is not my kata, I did not set the rank, CW is not my platform, I am not a mod let alone an admin; I'm just telling you how things work and where to take your complaint.
I dont agree its 6 kyu, its definitely 5 or 4 kyu, it was pretty hard, mainly overlapping rule options in the string.
JS translation
Python updated to current test framework, imports added. There is still a typing import in
preloadedthat is imported ( or maybe concatenated ) implicitly in solutions; this should be removed when types are available without imports. ( Please leave the suggestion open until then. )Some tests added. Many many solutions invalidated. Nowhere does it say rules have to be applied in any particular order, or from left to right in the string. See here. Replaced example solution, because even that failed new tests.
"this kind of solution" included the example solution :O
test added.
Haskell translation
Great challenge coming up with an elegant solution.
oh, you can't use potions if you have full HP.
This comment is hidden because it contains spoiler information about the solution
This kata was decided to stay.
Loading more items...