A customized library for some online programming tests