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.
Okay :D So much to learn..
I don't know if i did the right thing, couldn't find the edit button that let me to the old version. So i just did a new fork of the translation. It's waiting for approval.
you edited the translation, this has no effect on the kata once it has already been approved ;-)
you can edit the kata's C version directly with the 'Edit' button when viewing the kata
Thanks for this Advice. I Fixed it :)
@lnx1_1
Criterion's default error messages are not very helpful :
How do I debug my code with this kind of message ?
You need to override it by supplying an extra argument to the assertion. Criterion assertions can take an optional
printf
format string parameter and corresponding arguments :to avoid code duplication, assertions are usually wrapped in a function :
Could you please edit the C version to do this ?
Had the random Test in "Sample Test".. fixed it now
No, retired katas can't be deleted, just leave it.
OK I know the problem. I unfortunately evaluated Codewarriors solution before mine in the two last random tests... nobody is perfect:-(
I changed the evaluation order of my reference solution and Codewarrior's solution so everything should be fine now without having to copy the input. Could you give it a try with your modifying the input? (It is generally considered "bad practice" to modify the input:-)
Thanks for your post!
But the tests already expect 0 for it. What language are you using?