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.
Really funny kata to solve...
nice!
Brain-time optimization
Yes because the Gauß formula is the most efficient solution.
Rust translation
approved
very easy it should be 8 kyu
It is accepted for simple cases like this but discouraged to use nested ternary operators in general
You are right, it's not a production code.
Still. If something is obvious for you, it doesn't mean that is obvious for everybody. It's called curse of knowledge.
Okay... but this isn't production code. And I'm not sure that it would require a comment block anyway, you just have to think about it for more than a few seconds.
In production code, it will require comment block, because such solution produces a lot of questions.
It doesn't matter if you do or not, it doesn't change the answer.
During average score calculation, you should sum your points as well during average score calculation.
basically my solution
i thougt i need to create a random number from 1 to 6
Loading more items...