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.
don't std::cout << sum the result but instead use return sum; opposed to your return 0;
That's why you'll always get 'Actual: 0' because your functionw ill always return 0 in any case.
This comment is hidden because it contains spoiler information about the solution
Hey there. First things first, this should be marked as a question, not an issue. Issues are for when you think there is something wrong with the problem itself.
To answer your first question, usually you will work with what is given to you in the solution window. Changing what is already there can sometimes break a problem.
If you would like me to take a look at what you currently have, reply with your solution. I won't be able to help you further until then.
Hi,
Please help, I am new here and using C++,the processes are quite confusing. Do i solve the challenge with my own method or do i go with the way it was writing in the solution window? Also, I solved the problem and it currently bruns on my laptop but when i click on the run sample test button, it gives this error:
Log:
es
Expected: equal to es
Actual: test