Clear questions and runnable code
get the best and fastest answer
Re: Algorithm problem: Order matches by difference between playersby dwm042 (Priest)
|on Apr 18, 2011 at 17:20 UTC||Need Help??|
Just realized, the problem is trivial in all cases if you allow N rounds for N players. Just skip the round where "your number" comes up.
For 6 Players in 6 rounds..
For 5 rounds, 5 players..
Don't know if this is exactly what the OP is looking for, but it reduces the tournament calculation to a count and lookup problem.