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.
Just finished in java, seems to have fixed.
The problem description is confusing: it meant "a single digit".
Use spoiler flag when pasting code like that, rank should be 1, 2, 3, etc.
Try casting to
float
instead ofdouble
. Maybe it'll work.seems it already has been handled
Feels like that gives away the puzzle part...
Sorry, matrix got messed up on posting, but you get the gist
This comment is hidden because it contains spoiler information about the solution
I'll take suggestions on a concise description if you could provide it
The kata description could stand to be more, well, descriptive. While part of this kata is understanding the puzzle of what the pattern is, it can at least state that clearly.
I fully agree that this output is totally stupid, yes. Though, it requires only one single line of code to handle that case and the kata is functional by essence, moreover when that is especially explained in the description. And since that is the same in all languages and the kata having alreaydy thausends of solutions using this... I wouldn't considere this an issue (even if, yes, again, that is stupid).
So, resolved, sorry.
Re-ranked to 7 kyu
I think this one i a 7kyu because not many people will remember the geometric formula for sum of interior angles as it relates to number of sides. If those mistakes were intentonal, then it should say in the description, there is a problem with the given code, part of the challenge is to fix it.
seeing how this question is too easy for 7kyu, we might want to flag that comment. Sometimes real coding is about fixing bugs.
Loading more items...