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.
I can prepare a fork with a fix if you want, but I need some time.
using namespace std;
is not needed, and in case of this particular C++ translation it actually breaks things. There are some includes missing here and there in the translation, and the problem is thatusing namespace std;
seems to be necessary in solution (but it's not) because it is missing in another place (specifically, in tests).This is a valid issue, and code of snippets should be corrected: missing includes should be added, and usings should be added where necessary, and removed where unnecessary.
The "Setup" solution has "using namespace std;". Maybe it is not the best way but it is there and is needed.
Not a kata suggestion!
I had simular issue. You should check if you processing correctrly cases where more then two chained operators. Like a < b < c < d.
In real-life I guess capacity doesn't mean very much other than as a rough guide...
e.g. Capacity = 8 but Snow White and the Seven Dwarfs in a lift is not the same as Snow White and the Seven Sumo Wrestlers in a lift!
In real life would a lift know its capacity? I'm not sure it would, but I don't know for sure. If it could then I agree with your point!
Difference is you are on a lower version of Node here which doesn't give you access to BigInt (the easy solution)
Banning specific operations, changing ranks and changing solution setups are too late as it will invalidate all solutions & require change in all languages