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.
Very smart math logic!
Thank you for such a nice sample for my collection!
My opinion is:
That simple logic with a three numbers #include is too heavy an operation.
if-else would be much faster.
I beleave int m should be created out of (before) the for cycle.
This is a task that, like all tasks here, requires you to provide a valid solution, whatever it is. If an author doesn't want some library to be used, it's up to him to make it impossible.
That's IT !!!
I beleave This is not a task for using standard library from STL. I thnk they wanted us to create our own logic.