Problems with tag O(m * t * n^2)