Set of algorithms and data structures which may be useful in programming contests, written in C++.