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.
yep, I should use const reference.
Is this correction sufficient?
Thanks for review! I have fixed all mentioned problems. I agree that using pair is much better approach.
Thank you for review and detailed description of all problems. I already fixed all mentioned points, please review changes.
C++ translation:
https://www.codewars.com/kumite/6244bc2c58ad06006b64b094?sel=6244bc2c58ad06006b64b094
C++ translation:
https://www.codewars.com/kumite/62433060e2be22004f060552?sel=62433060e2be22004f060552
If Rust tests are fine then C++ tests are ok as well.
I'm really sorry for the problems, I have already fixed the issue, this was my first translation and I misunderstood how the tests are checked before publication.
At
Example Test Cases
I have changed expected value (e.g. 5) intoEquals(5)
, Hidden test cases were fine.Once again sorry for the problems.
Please comment on the GH thread: https://github.com/codews/runner/issues/113.
You have absolutely right that GCC/CLANG does not implement all C++20 features (my bad), but a few ready to use functions can be helpful to write better solutions.
for sure g++ and clang support c++20
[edit]: it is not true
Add support for C++20 please ;)