Each member of WHU ACM Team developed his/her own Five in a row AI application. They are planning to hold an AI competition on the online arena they just developed.
Each AI competitor has to compete with every other participator once. The winner of each game is awarded with credits while the loser gets nothing. No one gets credits in a tied game.
Every competitor has an experience point, which is crucial to the game. In each game, the competitor with higher experience point wins, except for tied games, in which two competitors have the same experience point.
Those AIs are so clever that they will learn from every game. That is to say, no matter win or lose, AIs' experience point may increase after each game.
Alex, the team leader, has the privilege to arrange the game order. He wants to maximum his credit. Please help him solve the problem.