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.
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
Approved
Scala translation
CoffeeScript translation
i hate math shapes
Like what XoRMiAS said, you're trying to match the typeof for the first argument and check if the first variable's typeof is equal to the second argument. So like in the description typeof 42 would equal "number". Then "number" === "number", which returns true. Where as typeof "42" would return "string", and string !== number, so it returns false.
it doesn't look like after about half an hour of trying, but actually really is 8 kyu
It took me half an hour to realize I'm suppose to match the type of variable equal to type.
Before I was matching the type of both equal to each other. (T.T)
The radius is about the bottle, not the cube.
Loading more items...