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.
Undefined behavior because of
string_rt
passed asconst char *restrict
being passed as another argument as well.Extra
\n
in the end.Beautifull solution!
Also, your code has undefined behaviour: strings should end with a terminator. But your string did not accomodate for it ;-)
Passing the sample tests does not mean anything, it's only a very tiny subset of the entire test suite ;-)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It's not an issue if you can't pass the tests and you aren't certain why the tests don't pass, but a
question
;-)And nobody could look at it if you don't show what you're doing, so you should post your code marked as spoiler.
hello, i write my solution in C ...
My solution pass all the sample test.
When i press "ATTEMPT" instead I have a only one error :
"The expression (as strings) (to_alternating_case(s)) == (solution(s)) is false."
in
should_work_for_random_tests... it's only one.
I believe there is a one problem about a special random character ..
How can I solve it? How to send an admin?