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.
Good Code.
no
is there any difference between ++i and i++ in this case?
While unneeded that is just how some of our brains think about it and it does make the code readable.
This comment is hidden because it contains spoiler information about the solution
can anyone please explain how it work??
Current state of C++ initial solution setup compiles correctly, closing!
The absolute value of positive numbers and zero is that number itself, and the C++ compilers automaticly convert -0 to 0.
whats istringstream and getLine and what do they do exactly?
also whats the use of the variable Token?
you could also use a switch statement instead of those ifs
Your explanation is easy to understand. I didn't know this trick before. Thank you for clarifying it.
-0 is not exist, the program understand -0 or +0 as 0;
well, -0 is 0. Maybe it doesn't strictly respect the instructions, but the program is correct
yeah
Wouldn't it return 0 as -0 ??
Loading more items...