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.
you can just call constructor recursively for one-liner
This comment is hidden because it contains spoiler information about the solution
Could it be that the Shell tests are broken??? It is difficult to debug in Shell but from my side it really looks that in several cases the test expects -1 when in fact there is a valid input.
I think you missed a couple of braces
Nice kata! Would be cool if author made a 4kyu or 3kyu version where every floor is 2D. Another cool option would be to add several stairs at each floor - finding a shortest route would be a quite challenging 3kyu kata.
This comment is hidden because it contains spoiler information about the solution
Voted clever because I have no idea whats going on. Some comments or explanation would be nice though.
Thank you very much! I will definately look into it. This might be usefull in some other circumstances.
Thanks! Our solutions are basically the same only yours is executed more professionally. I am very new to C++ so my knowledge of string methods and string initalization is lame. Also, I need to adopt object oriented approach in my C++ code. Just like how it is done in your solution.
Great kata! Took me a couple of hours to get it done.
Does this mutate the input? I'm new to coding so pls no bully.
what an acctual fcuk?!
Very nice. Thanks!
Thanks!
da fuq?
Loading more items...