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.
:O
approved
Fixed (along with C translation warning) in this fork. Please approve.
fixed
The correct issue: does not report actual and expected results in sample tests!
Resolved
fixed
Fixed
Brain fart on my end. I initially wrote the tester and used const int for the index
n
to ensure it wouldn't be modified within the scope of the tester. I carried over that same approach to the function definition, but you're right — sincen
is passed by value and not by reference, making it const doesn't serve any purpose in the function prototype.I've corrected the prototype based on your suggestion!
Fixed.
It may have been about incorrectly written random tests. I have fixed it. Please check the incorrect solutions that passed the tests
follows is pretty simple
put the 1 at the end
Should be fixed.
duplicate report
The description states:
And:
What is inconsistent here?
This comment is hidden because it contains spoiler information about the solution
Loading more items...