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.
That solution doesn't pass in python, but I published an updated python version to invalidate other alternative solutions.
Interesting that the one you linked is 2 steps higher even though it is essentially the same thing. Is reverse egineering this one that hard...
I also get this bug, I hope it will be solve as soon as possible.
Approved. Thank you!
The description does not specify any order for calling methods, and it's secret option C: the random tests will very probably generate tests where methods other than
termwill be called with arguments that have not been generated by
term. Note that the reference solution solves this by explicitly calling
termbefore accessing the other methods.
It would be possible to add a fixed test that addressed this hypothetical vulnerability, but it hardly seems worth it.
Does this answer your question?
Hi, thanks for your comment.
The error to this day still exists, with inputs like "List (mov n 20, mov q 28, mov z 0, jnz z 4, jnz n 4, dec n 0, inc n 1, inc q 0, inc q 1 , dec q 2, inc q 3)"
Hope it gets corrected soon and thanks for reporting on it.
This issue should not be marked as resolved.
Happened to me as well. I got an "inc x 0" instruction. My pattern matching is now uglier, because I had to prepare recognizing syntactically incorrect lines.
Issue already solved !