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.
Yeah I am having same issue. I can get like 50 mill to go through but get this time out nonsence. My code looks pretty clean too.
you can't go above 15 seconds
The "divMod" function is good. You could write:
which is nice.
Ummm... the Writer monad exists and any list is a monoid so "DescriptionStore r" is isomorphic to "([String], r)". You don't even need to import anything other than Prelude to use the latter as a monad.
But I like your approach (porbably because I had a similar idea, lol).
What was difficult about this one? It seemed too easy for a 5kyu.
Whenever I run my function on my laptop, it computes instantly, even for enormous inputs.
Whenever I try to submit it, I have an "computation time exceeded" error.
Can someone provide images of example of input and the output for said input? From what I understand, the task doesn't require the world's time to pass, we just crop dead cells off.
This comment is hidden because it contains spoiler information about the solution
I admire your solution