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.
fixed! All tests have passed, warnings fixed also
Approved :)
C translation is waiting for review and approval :)
Please check
This comment is hidden because it contains spoiler information about the solution
Can you explain this to me? I have no idea how you are doing it.
Yeah!
Looks good to me, approved :D
Thank you for checking, I've changed code connecting with your suggestions and issue. Could you verify it again?
Many thanks for your translation. This translation is much better than the previous one but would you mind making the following changes before I approve it?
expected
should be computed beforereceived
in order to ensure that the input array cannot be tampered with by the user solution in order to thwart the random tests. I know thatconst int *
should do the job well enough (IIRC modifying the contents of something labelledconst
either yields UB or doesn't compile?) but just to be sure, you know ;)expected
should be placed afterreceived
in the argument list tocr_assert_eq
(source); otherwise, confusion may arise if the test cases print a failure message with theactual
andexpected
arguments swapped.arrSize
parameter in the Initial Solution toarr_size
(just to be consistent with the naming convention of the user function)?Cheers :)
That's because the translation has already been rejected - I'm afraid you'll have to fork this translation, make the desired changes, publish that and get that approved instead.
Thank you, I've fixed all the errors. But I can't republish. The message arise: "Kumite was published with failed tests!", although all tests is passed.
Rejected due to the following reasons:
snake_case
.