

 Function foo

    line 7 / 14
    1 +  max(n, 0) × max(m, 0) + max(n, 0) + max(m, 0)
    O(n^2)

Total Complexity: O(n^2)
