TopCoder TCO 2013 Round 2C 1000 task