Help with a problem from CF round #446

Revision en1, by Phanix, 2017-11-25 14:12:57

Hi all, I have been trying to solve this problem from CF #446: http://codeforces.net/contest/891/problem/C . The editorial description of this problem is very bare bones ( atleast that is what I feel) and and after numerous hours looking at comments and other submissions, I have failed to come up with a solution that works. Can anybody please provide a brief procedure on how to go about solving this problem? Thanks in advance.

And if this is not the way to ask for help here, I apologize as I am quite new to codeforces.

Tags codeforces round #446, envy, help needed

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Phanix 2017-11-25 14:12:57 567 Initial revision (published)