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.
Thanks. I'm confused with numbers
Print stuff and see which cases you miss.
This comment is hidden because it contains spoiler information about the solution
Why do you ever want to return 43? You must return a digit.
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 difficult to tell without seeing your code. You can post your code here (see how) so we could check it, or you can ask for help in
#cpp
channel of Codewars Discord.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks :) kata has been successfuly complete, perhaps not in the best way)
I can see a couple of problems with this code:
This comment is hidden because it contains spoiler information about the solution
First, copy whatever code you have to an editor.
Do a "RESET" on your solution within Codewars.
And then incorporate back your code into the scaffold.
I hope this fixes it.
I use only duplicateCount(const std::string& in), and pass simple test. But when i click "Attempt"? i got this error
STDERR
-isystem /runner/frameworks/cpp error: redefinition of 'duplicateCount'
size_t duplicateCount(const std::string& in)
^
note: previous definition is here
size_t duplicateCount(const std::string& in) // helper for tests
Why?
Thank you.
Loading more items...