ACM practice code in POJ and other  contests.