Problems with tag O((m * n) * (m * n)!)