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.
I have read your opinion. It is true what you said . Now I understand how to do this better. Thank you.
I approached the problem in a similar way (without needing to use cmath header), but I took care of the edge cases for which
n < 4 , by returning false , and for n>=4 i iterate from i=2 until i< n/2 , so I avoide having a hard coded number like 1000