A customized library for online competition