Please help me in solving CONSADD problem, I am struggling to understand editorial

My issue

I can’t understand intuition behind the bipartite graph approach here. Could please someone elaborate it.
I can able to understand using bipartite graph we can separate rows and columns but if separate rows and columns means then how can we add ‘v’ or ‘-v’ for X consecutive elements

Learning course: 2000 to 2500 difficulty problems
Problem Link: Consecutive Adding Practice Problem in 2000 to 2500 difficulty problems - CodeChef