A greedy week
http://petr-mitrichev.blogspot.com/2016/04/a-greedy-week.html
CodeChef Starters 136 Solution Discussion