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.
Use
[text](url)
What if there's more than three of a given number?...
This comment is hidden because it contains spoiler information about the solution
Brainfuck isn't a standardized language. Depending on your interpreter, you might allow negative memory locations like
mem[-1]
,mem[-123]
. However, all tests use only non-negative memory locations, that is, the number of<
is less or equal than the amount of preceding>
.I have to say it is a ugly feature of ruby to use
%
for formatting. I would rather usesprintf
or other helper methods to achieve this.I have no idea why I put that there haha. You're totally right, it's redundant. It should function the same without the
!!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution