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.
This comment is hidden because it contains spoiler information about the solution
plz can u explain why u wrote it like that?
like how it came to u to think about it
People often upvote the solution they understand or the one similar to what they did, so it's more of the most popular solution rather than most clever or fastest
the data type is integer so 1.5 will change to 1 automatically
could you please explain whats going on after the 0ull
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Not really. In general you should always access the element by reference (i.e. " &x" if you need to modify it, or "const &x" if you don't), otherwise C++ must make a copy into the loop varible. HOWEVER, in the case of a built-in type like int, just getting a copy is (almost?) always just as efficient or more efficent that getting the elements address and then deref'ing it.
This comment is hidden because it contains spoiler information about the solution
xd wow
Bravo hh
I will unmute you tomorrow.
good one ;
This comment has been reported as abusive
Use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Loading more items...