Some SPOJ (Sphere Online Judge) problems