Solutions for problems in SphereOnlineJudge