Solutions to the Sphere Online Judge Problems.