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.
Not a kata suggestion. Explanation below:
First floor -> 1
Ground floor -> 0
So if we are given the input (
1
), we would expect the output to be0
. If the floor is already a ground floor itself (0
), it is as it is, just like the basements (negatives)Not a kata issue.
Rejected, see remarks here
That's a skill issue, not a kata issue. Please close this issue and reopen it as a question, or ask for help on the Discord server.
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
Loading more items...