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.
Really underrated Kata, and was quite satisfying to solve, but there are a couple notes:
range
class provided is underbaked. Bare minimum, it should be default-constructible - meaning you need to add two braces to turn the declaration into a definition. Also, not exposing conveniences likerange::from
andrange::to
adds artificial complexity to the task.ExtraMessage
in the assertions. Unlike most Kata, this one is not function-based, meaning the solver has no way to easily log things. It won't be easy, but you'll need to roll your own custom stringizer that converts types into string representations. I've done something similar in the preloaded section of this Kumite a while ago.[N + 1, M]
? Usually, reverse indexing stands for[size - N, size - M]
(at least in my experience). But this is subjective in the end, so ignore it if you wishThanks for the issue report, added random tests now.
Random tests are needed.