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.
If you're like me and read this comment and don't get the math explanation - plain english one is that if you add your points to the class average and your points cause that average to rise - that by default means your score was higher than the average of the class. That's why you don't need to add it in this particular example.
If
n == 0
, perhaps arr is the null pointer. You wouldn't want to try access it.This comment is hidden because it contains spoiler information about the solution
No, accessing that element is undefined behavior.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank you for the comments!
I continously try to optimize every solutions to the maximum readability, maintainabilty and efficiency.
If you find out that any of my solutions can be better, please let me know, I appreciate it ;).
short and simple soluion. I liked it very much
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...