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.
Added Clojure translation. Could somebody review please?
You're allowed to leak memory. It's cleaned up at program exit.
What is memory releasing contract for languages with explicit memory management?
C++
compile
implementation suggested definitely leads to memory leaks.Also, my attempts cause unclear segfaults (exit code 139). Could someone clarify memory alloc/free policy of the kata?
What is memory releasing contract for languages with explicit memory management?
C++
compile
implementation suggested definitely leads to memory leaks.Also, my attempts cause unclear segfaults (exit code 139). Could someone clarify memory alloc/free policy of the kata?
I found the bug! The problem is the first test of the fixed tests : it contains an 'x' at the start
thank you!
put a print statement in all your while loops to be sure you don't run into an infinite loop (you'll get the bufferlimit error instead)
Is it the test suite hard to pass with a not optimized algorithm?My code seems to work fine but it runs out with the all test suite...
It would be great to state explicitly that all numbers should be handled as floating point numbers. Initially, I tried to preserve integral arithmetics whenever possible, and it was wrong solution.