Library for programming contest in C++