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 task has nothing to do with programming
This comment is hidden because it contains spoiler information about the solution
It's not broken. 706 users completed it in C, and I just solved it myself without any problems.
Maybe there's something helpful to you in this article: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
They are absolutely not broken... python has almost 17000 solves.
Don't try to solve in a brute-force approach.
Try thinking in mathematics perspective