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.
done
@kdmatrosov: could you have a look at your translation?
Wrong argument types in the initial solution.
No problem!
I'm sorry for using issue, I'll more careful if I meet problem next time. Thanks for help.
No, tests 8 and 9 don't have same data. When you are not sure post a question, not an issue. Moreover almost 1000 guys passed the C++ kata (see at the top of the page); if there was an error somebody would have already seen it, no? Cheers.
I use cpp and test8 and test9 seen have same data, but test need true and test nine need false, I really don't know how to pass test;
What if the vectors are
{2, 3}
and{9, 4}
(should betrue
)? Or{2, 3, 3}
and4, 9, 9
(should betrue
)? If I'm not mistaking both cases will fail with your 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, I', really into your katas! I hope that they will allow me to be better at programming, since I'm a total novice. Greetings.
@devtot0 ..
So yeah, that's my code. When I run it on cpp.sh with a sample test string (std::string strng = "abcd\nEFGH\nijkl\nMNOP";) and replace k and n with constant numbers (just because these parameters aren't passed to any function), I get exactly the expected output.
HTH: Try printing the input and see exactly it is.
But generally we can't help you unless we see your code. Put down your code in a comment in this syntax:
If you do this, check 'mark as having spoiler content' below the comment box.
If next time it's a top-level comment, you can use the label 'question'.
My code displays the correct output in other compilers (for example c++ shell), but somehow I'm not able to get it working here. How can I solve it?