My solutions to the SPOJ (Sphere Online Judge) problems