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.
agreed
The area of the square is multiplied by the height of the wide part of the bottle.
what u mean son
Apparently, moderators like the kata.
At least I do.
Is there no community of moderators like on Wikipedia?
Nobody who asks why a kata has only 58% satisfaction?
Neat. I never knew that Python allows one line for
conditional: resulting statement
Yes, but the kata tells you to cover the cost
Asking for two mutually exclusive things is a recipe for dissatisfaction :-(
That's all in your head. The tests are fine.
This comment is hidden because it contains spoiler information about the solution
Cool, although I think
handicap > 7
would nicely convey the business logic as stated in the club rules
A case where great compactness leads to greater readability!
Moreover, I beleive only
#include <set>
and#include <algorithm>
were required.This is less optimal for this problem since there's a simple firmula solution but it isn't limited to quadratic.
This is on another level