Editorial for Mock CCC '18 Contest 3 S4 - A Graph Problem


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Author: xiaowuc1

This problem is essentially equivalent to this one. The criterion is that the maximum value cannot be greater than the sum of the remaining items, and the sum of all entries must be even.


Comments

There are no comments at the moment.