Problems solutions from: Project Euler, Spoj and CodeChef