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, found out that there is an extra '\n' symbol in the end of string. First, I tried to put '\0' on the position where '\n' stands, but I dont know why did it not work, so I made the algo stop putting that '\n' in the end and it became correct.
Are you sure there're no trailing spaces or some invisible characters? They might not be output in the error message, but comparison will fail.
Can you please help me?
Testing result says that Actual does not match Expected, however I checked checked for a match both manually and with the help of string == operator, both told me they are equal.
The problem is that yet I could not find the trick.
Thanks!
P.S. Solving in C++
Asking for help is not an issue, sorry.
Can you please help me?
Testing result says that Actual does not match Expected, however I checked checked for a match both manually and with the help of string == operator, both told me they are equal.
The problem is that yet I could not find the trick.
Thanks!
P.S. Solving in C++