My TopCoder practice code.