Solutions to problems on Sphere Online Judge