Sry guys, in this problem http://www.codechef.com/JULY14/problems/DISHOWN/
when we got x and y, or just y, what we got? the score of dish, or position dish which sequense we taken? Pls explain. And one more thing:
in every battle everyone of chef took the higher score dish of his all dishes or dish about x and y we got.
Sry, for my english.