Problem solutions for sphere online judge