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.
No, you're wrong, you can see my solution works with a different formula.
got the same error in C++. description could be updated to w / h / h since that is the only formula that works
.
height*height
does calculate the square ofheight
in JS (assuming thatheight
is a number), so the problem must be elsewhere.Please don't raise issues so lightly, if you don't know, it's not an issue. We don't know what you are refering to, which language you are using, etc. See there: https://docs.codewars.com/training/troubleshooting