my solutions to the Sphere Online Judge problems