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.
excellent!
this allocation works, but your code tries to write beyond it
this would be plenty to know what's going on:
*** Error in './test': munmap_chunk(): invalid pointer: 0x00007fff4ec8c690 ***
you need to return an integer array. in C this means the function author (
you
) needs to dynamically allocate memory for the array. the caller of the function (me
) will free the memory.the numbers are so large you don't have time to simply iterate through them completely => you need a different approach
Could you elaborate what is misleading to you?
Agree. I got it but was confused when I saw that the logic of the best practices solution is completely different than mine.
Reset doesn't affect random tests.
Lightened performance tests more. Good now?
Have you clicked reset?
Thanks @steffan153. :)
Try again, it should be fixed now.
Read one of the posts below stating it doesn't work in Python for the time being.
you had me at
warp transmitter
XDMy colleague and I were discussing ludicrous programming the other day and he told me that his former employer paid his programmers by line per code. We both agreed, how very stupid this type of payment method is. But we thought it could be some minutes of fun to create such an example of a ridiculous, overcomplicated multi-line code which does the same as a simple one-liner. So please don't take it too serious, this is just a result of a funny afternoon! :)