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.
Such a sweet description and an interesting task for the beginners, I really liked this kata ^^
Python: Random tests: 616 of 616 passed. Fixed tests 2 of 10 passed. How stupid is this 🤯 ?
The description is not wrong. You misunderstood the problem and likely just guessed your way into the correct formula.
The description is wrong: "The brick's length and width are equal, forming a square" ------ The length and width are NOT equal in the examples. It's NOT an square. Please, fix that.
This comment is hidden because it contains spoiler information about the solution
The task itself is pretty interesting, but it doesn't seem to be a 8 kyu task, it should be ranked higher. Or some geometry formulas must be given in the task description.
The tests have a problem! agreed
Good challenge to have fun with.
JS && TS:
Initial solution setup should provide the method and constructor signatures.
The kata expects the function to return a string of
"Invalid input"
when the input is invalid, not terminating the script entirely.I code on PHP, i just don't understanding why it fails in logic section, it doesn't even saying why it fails it just saying "Invalid input" so i don't even getting where it fails, when i run every unit test in my ide everything work fine but when i attempt it fails for some reason, so plz take a look.
The problem is poorly written, it needs the grammar checked so that it can be read easily.
No, it doesn't. And you have to calculate the volume of a cuboid. Next time, write in english, please.
Не правильное описание. нарушены принципы геометрии. Объем цилиндра V = π × r² × h.
Approved
Loading more items...