Skip to content
Ivan Dyachenko edited this page May 19, 2020 · 1 revision
  • The condition that there is a segment with sum K or S - K (where S is the sum of all elements) is equivalent to the condition that there is a segment with sum K in cyclic array.

Clone this wiki locally