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.
very clever man
It seems to me that there is some kind of error with the tests, I pass the Sample_tests, but I cannot pass the Basic_tests, although, as I understand it, they contain the same tests as in the Sample_tests. Am I wrong?
done at some point
and this works?? lol
Some operators in C++ have synonyms.
Sometimes when you are checking your solution by printing out each one of the instrutions make the buffer to get full. That is why the system tells it is timed out. Same thing happened to me, so I deleted the cout. All the problem got fixed.
Use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Well, it doesn't matter, right?
At the end of the day, the question is how many guys are left with their cock dry, no which ones.
I wonder about cases were we have for instance 1 woman (9) and 2 chads (9). Which of the two gets the woman? There is no tie breaker for these cases, and I passed the tests without implementing any tiebreaker. Are tests designed we needen't to worry about such cases at all ever happening?
Yes
why 2 ?
IMHO in C++ the right way to do that would not be to templatize the sh.., but much simpler to behave like some STL algorithms and have a "ring class contructor" taking begin() and end() as parms.
I rank it 4 kyu "Advanced design patterns"...
It's very simple, although it contains a magic number which isn't great practice unless if it's self-explanatory. The 3 here is self-explanatory but the 2 is not. Things like this should be labeled with a comment or set as a variable.
i mean yea, how i didn't think about it. Any books recomendation for algorithms?
Loading more items...