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 comment is hidden because it contains spoiler information about the solution
The maximum input value is 12691 in Haskell. The 12691st Hamming number is 63-bit long so it does not overflow
Int
.Haskell requies Integer result. However it will get compile error when define
while only compilable when defining
however, it will centainly overflow the Int Range. Please fix this.