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.
Added fixed tests and sample tests.
I have changed the type signature from
Int->Int->Int
toInteger->Integer->Integer
.I made a terrible mistake writing function signature, and this code is correct, only result type should be changed to long long.
Thanks for forbearance
Hi, I've just repaired c++ version, because answer for the biggest segment cause 'int' type to overflow, so I changed that to 'long long'. If you fix the issue in this translation, I will publish it.
HUGE thanks