poj problems's solutions