Algorithm training for ACM-ICPC