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.
OK,thanks for your help.
Maybe not, can't free it here at codewars. So I only use it as a reminder to free everything I have allocated. Never use this style in my own projects. But then again, I'm truly no C guru.
But it's after the "return" statement. Does it really useful here?
Hello, and welcome!
It's a function to free the memory allocated to the pointer final by malloc : )
I am a new Cer,can you tell me the use for the "free(final)" here?
@MariusAFT
,The return value is supposed to be a string ->
"None"
Hello,
I am getting this error when it tests for "Weird": Should return None: None should equal 'None'
Anybody knows why?
@Dragoris
,As
@nap4lm
already mentioned, the random tests on the Python version of this kata don't work becauseimport re
is not at the top of the main test cases.My solution does not use
re
but I still had to import it to get the random tests to run.Hello Mate!
I had a problem, I solved it without regular expressions. But it still needed me to import re.
Not that big of a deal but just so you know :)