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
This kata completely lacks in novelty: The problem source is intentionally left vague but google image search links to this blogpost which links to the source reddit post, and the solution is revealed to be, well, a simple one line solution that takes zero effort to be golfed down to the required limit.
In other words, the code length restriction is zero-effort, and this is a pinnacle of
not code but math
problems. Definitely low-effort kata, very unsatisfied.(This post shall be left intentionally unspoilered because it's literally a homework problem. Why are we doing homework problems again?)
Don't Cheat
as assertion fail message is meaningless. A descriptive one should be used.Also, user code length is not displayed, which should be done by default in code golf katas.
This comment is hidden because it contains spoiler information about the solution
python: I don't know what happened, but despite all solutions being still valid in the solutions page, none of them can still pass the tests: every single one I tried is currently timing out.
Maybe seek in the last updates to python if something went wrong?
cheers