FLIPCOMP : NOV Long Challange problem solution?

https://www.codechef.com/NOV21B/problems/FLIPCOM

What’s the observation behind this problem. Editorial is missing

1 Like