Random SPOJ problems attempted/solved