More Tricks to Gain Speed in Programming Contests
(Page 1 of 4 )
As much as we would like to encourage smart thinking in programming contests, in the end, what makes the difference most of the time is who knows more tips and tricks to gain the extra advantage required. Today I am going to present another collection of them, believing that maybe someday, one of these will help you win.
Welcome to the final episode of this four-part saga. If you stuck with me through the other three parts, you learned what is required from someone competing in a programming contest and what efforts must be made to succeed.
If you just found this series, then I invite you to look at my profile and search for the first three parts. Click my name and you'll find them under my profile. As soon as you finish reading them, come back and read this part.
Of course, you can read on without the other parts, as this article's content will come in handy on its own. Now let's immerse ourselves in the world of contests and C/C++ for one last time.
As I said in the second part of this series, one of the ways you can learn how to program fast and easy is by reading the source code of others, taking the good parts and adapting those in the future.
This article is more like a collection of these kinds of code snippets, so many of the ideas presented here are not my own. Where this is the case, I will also present the original author, so make sure to give all of the credit to him.
Next: Maintain the cache intact >>
More C++ Articles
More By Gabor Bernat