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
...but is not best practice ~ without them you get a generator expression which is all you need / want
looks sexy but very inefficient
Finally I got it works, just make it use a small number of loop.
Same here.
This comment is hidden because it contains spoiler information about the solution
In C++ all test pass, no failed, but exit code 1 return.
You can see tests: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#how-can-i-see-which-input-causes-my-solution-to-fail
Frustrating because we don't see the test so we can't find out where the issue is in our code as easily
This comment is hidden because it contains spoiler information about the solution
passed the test case but why failing to attempt?
My solution code pass the test. But when i attempt, it fail