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.
This is a misuse of the range-based
for
. I'm pretty sure the whole point of it is so that you don't have to specify indices or increment them.IMHO, localmax and globalmax should be more than int (long int, for example). Because we can have list like {2^30-1, 2^30-2, 2^30-3, 2^30-4, 2^30-5}. Then the answer will be 2_147_483_647 and not 5_368_709_105.
Wow! It is genious!)
Thanks!
but it works