Practice for programming contest using ant book