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.
Thank you for the most helpful comment. You must be a god in development.
wow
I learn new standard library methods by seeing other people's solutions WAY faster than reading by the references.
very inefficient
Thank you so much for your quick reply. I really appreciate it.
Hi! that's a lambda expression. You can read more about it here: https://en.cppreference.com/w/cpp/language/lambda or https://docs.microsoft.com/en-us/cpp/cpp/lambda-expressions-in-cpp?view=msvc-160
This comment is hidden because it contains spoiler information about the solution
The string parsing code is much larger than all other examples and it even contains a goto...
JudgeWin is a confusing name for a method that also changes the positions.
I don't get how you managed to change b.
This comment is hidden because it contains spoiler information about the solution
Thanks! My goal is to use the STL features as much as possible.
This code is just a little bit to clever for my case. I do really like that the actual loop is very easy to read.
The [] lead to list comprehension which will actually create the array. Omitting [] is the same as replacing it by (). That is a generator expression, which does not construct the array first and should therefore be preferred.
This comment is hidden because it contains spoiler information about the solution
Loading more items...