BICONT Solution?

I have been waiting for the editorial for this problem from December 18 long challenge :

I’ve asked for the solution on codeforces as well as on the discussion forums here. Any ideas would be highly appreciated.