Very often , the time or effort required to solve such a problem grows with the size of the problem . That is , the time required to solve the problem using any currently known algorithm increases very quickly as the size of the problem grows .