Commit TopCoder and CodeForces problems

Different problems from TopCoder, and CodeForces