Library of algorithms used in past programming competitions