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.
my favorate kata answer I've ever seen lol
Maybe this test was translated from Java or C # and the translator is not very well versed in C ++.
You absolutely destroyed this kata, lol
XD cant stop to laugh)))
The macro was an ugly hack I did mostly due to being upset about the Javaisms of this Kata. I realize now it could have been done better by forwarding the call to my function in a Carboat class, or importing my function to a Carboat namespace.
When I submitted this solution it would come back with compile error if I didn't include that line. The hidden full test suite needed it. The "quick check" tests already included it, so it wasn't that.
you do all that "in accordance with good C++ practice", only to make it "work" with a macro?
Also, you don't actually need
using namespace std;
to pass. That's just for the "quick check" tests, but you can insert the line at the top of the test description.Came back to pledge allegiance to your "What is this? Java!?!" outrage. Yeah. And every passing by value etc. It's weird on a site like this.
:) nice