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
Отличная задача, неделю с ней сидел. Даже как вариант решения генерировал все возможные ходы, но естественно дальше 20-25 уровней таким решением не возьмёшь... Но всё оказалось настолько просто, что я в шоке.
I did it in Java
This comment is hidden because it contains spoiler information about the solution
Factor translation
Implements Kayleigh's pretty error messages
Noting that OCaml has for completeness
Haskell now has.
Approved
LC now has.
OCaml translation
Has pretty error messages
Currently, some languages (JS, Python, Scala) have nice visualisation of a correct path on failure. This could be added to other languages too.
Relevant example has been added to the description and as a test to all languages.
JS and Python now have visualisation of the correct path down the pyramid. 2 out of 3 solvers will now see why
1074is the correct answer ( and I have some hope that disproportionally many greedy solvers will solve in either of those languages ).Closing for now; we can always reopen.
Loading more items...