Hi!
I'm not sure if (i don't know how to explain this) "slices" of matrix contains only stripes or few rectangulars ? For example:

111111
122221
122221
122221
122221
111111

  • created

    Mar '06
  • last reply

    Mar '06
  • 1

    reply

  • 1.0k

    views

  • 2

    users

I don't understand the question. You should care only about maximum sum, not the structure of "slices".