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.
I got a problem when it was -1, it said to be equal to 0 but I already have a code for that then still facing the same problem
Lua Translation
Code easy, description not.
Thank you acadet. I learned many interesting things while trying to complete this kata )))
That probably means your code fails certain random tests.
I'm not sure what the author has against america flooring conventions, but it took me longer to figure out what the actual problem was than it took to solve.
you have the two backwards, user2791371
Cool Kata, but i think the level is for minimum 7 kyu ;) :)
cool kata
Your function needs to
return
the result. The tests will ignore what you printed to console.This comment is hidden because it contains spoiler information about the solution
Approved
Remember, kids: In Java, ints (including elements of int arrays) are initialized to zero. This might affect your approach to the solution.
Scala translation
This list isn't quite accurate. In the US the Ground floor is the same as the 1st floor. My understanding is that in the European method, the number represents how many levels above ground it is. So 1st floor in EU (1 floor above ground level) would be the 2nd floor in US. I think if you moved the G to the EU side and shifted everything accordingly, that would work.
Edit: Removed redundant explanation
Loading more items...