Pushing two solutions to SPOJ problems, little practice night