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.
Yeah that's true, but the problem didn't require verifying it
well, -0 is 0. Maybe it doesn't strictly respect the instructions, but the program is correct
Does it work without std::?
I mean you have not specified "using namespace std" or "using std::stoi"
The instruction says to consider a and b positive, so you do not need to check a*b<0