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.
Yes. The rule of zero is a good practice.
This is a nitpick but there is no reason for the Point type not to be completely trivial.
Yeah, I don't know how finding a square root is a binary operation.
I don't doubt the triviality. The "using namespace std;" is part of the skeleton of the solution. Removing it causes the tests to fail because string and vector aren't found.
Compared to how other katas are designed, it adds an unnecessary level of obfuscation. Combined with the fact "using namespace std;" is considered bad practice, it makes the problem more messy then it should be. It would be better to make implementing the functions yourself a requirement or design the tests not to rely on them.
For C++ why is the implementations of join and split_lines not provided?
This comment is hidden because it contains spoiler information about the solution
I ended up learning a little intrinsics.
This comment is hidden because it contains spoiler information about the solution
I think it would be ideal if the int() conversion operator in c++ could be marked explicit.