However sometimes the question and the problem describe show that the OP does not know how to ask the right question based on the problem. I would say that in those case it is OK to answer the question based on the problem described rather then on the question asked.