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.
C++ thinks that (65536*65536 == 0), due to integer overflow. As a result, a test case of
will cause most solutions here in C++ and C (and probably many other languages) to be incorrect.
I guess I'm overly pedantic :-)
For Codewars, perhaps we're allowed to assume these kinds of issues don't exist. However, in the real world with real systems, it is important to be aware of this.
My only practical suggestion is that the Instructions should be updated to clarify that the numbers involved will not be so big and that "warriors" can assume overflow is not an issue