The question Proof of correctness for the greedy solution of uva10249 The Grand Dinner is presently on hold. It is definitely not self contained, so I understand it needs editing.
My question concerns the remark by @Raphael: "It's inappropriate to outsource contest questions". Let me start by saying that I agree with his comment in general, I do not like to solve assignments, whether homework or programming. Yet I do not know what is proper in such a case. I happen to know what type of problem this is, it has a related mathematical theorem, and a wikipedia page with a hint to a greedy algorithm.
What is your opinion: should we close this question, or can we answer and give the name of an applicable algorithm?