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.
Passes all random tests, works as it should. Yet I get this error:
The expression strcmp(buffer, "01011110001100111") == 0 is false.
I like this one. Good use of the ascii values.
I used malloc. it didnt matter, I couldnt return the string, on the char array. I need to learn more about character arrays clearly as I have no idea how to return a whole string.
Is this valid ISO 2020 syntax in C?
What format is the string supposed to be returning? I am returning a char* and in CS50 Ide I get everything right, here, I get was expecting "elppa", got "".
Sorry for the noob question.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I asked about this code on stack exchange and was promptly banned from asking questions.
So I would go as far as to guide new programmers away from using syntax like this.