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.
that's cheating! haha, atleast for me it is, i prefer to make more myself, and learn as much as i can!
The "abs(mPos - cPos)" is a no-op since unsigned values likes size_t can't go negative.
This is amazingly simple!
Bruh.. That's creazy, I'm learning so much...👍
here the complexity is K*N(K-size signature,N-size result)
you can replace it with something like K+N
exactly
I forgot about stringstreams. This is realy smart.
This comment is hidden because it contains spoiler information about the solution
Wow many thanks mate
Same goes for mine.
Wow, I didnt know that function existed. Thank you.
Edit: Looks like this is specific to C++17 only tho.
This comment is hidden because it contains spoiler information about the solution
Arent you looping over the field variable 3 times when you are finding each of c, m and d?
Can anyone explain this solution step by step? Seems too strange to me