solution of some problems of Sphere Online Judge