ユーザー名: パスワード:
新ユーザー登録
管理人: rod03801 
 Feature requests

Do you miss something on BrainKing.com and would you like to see it here? Post your request into this board!
If there is a more specific board for the request, (i.e. game rule changes etc) then it should be posted and discussed on that specific board.

For further information about Feature Requests, please visit this link on the Brainking.Info site : http://brainking.info/archives/20-About-feature-requests.html


掲示板表
モード: 誰でも投稿可能
メールの内容の検索:  

26. 3月 2007, 20:14:25
mctrivia 
件名: Re: Removing tournament hand-brakes
mctrivia (26. 3月 2007, 20:34:38)に変更されました。
nabla:
<b>nabla</b>: The absolute simplest way to calculate absolute winner.

x=0;
do
{
  maylose=false;
  y=0;
  while (y<players && maylose==false)
  {
    if x!=y
    {
      if player[x].points<player[y].points+player[y].notdone
        maylose=true;
    }
    y++;
  }
  x++
} while (x<players && maylose==true)
if maylose==false
{
  //player[x-1] is the winner
}

It works under the principle that if player x loses all his games and every other player wins all there games and he still beats them then he is definetly the winner.

日時
オンライン友達
気に入り掲示板
同好会
今日のアドバイス
著作権 © 2002 - 2024 Filip Rachunek.
上へ