• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            The Sun Also Rises

            Algorithm, Mathematica, 計算機科學, C++, photography, GNU/Linux的討論空間

              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
              73 隨筆 :: 6 文章 :: 169 評論 :: 0 Trackbacks
            500分的題。。。
            由于之前看到過chomp game,(《Game Theory》的練習里有),然后開始試圖推公式之類的。。。在wiki上找到rectangle情況先手必勝的證明:

            Who wins?

            Chomp belongs to the category of impartial 2-player perfect information games.

            It turns out that for any rectangular starting position bigger than 1 × 1 the 1st player can win. This can be shown using a strategy-stealing argument: assume that the 2nd player has a winning strategy against any initial 1st player move. Suppose then, that the 1st player takes only the bottom right hand square. By our assumption, the 2nd player has a response to this which will force victory. But if such a winning response exists, the 1st player could have played it as his first move and thus forced victory. The 2nd player therefore cannot have a winning strategy.

            Computers can easily calculate winning moves for this game on two-dimensional boards of reasonable size.


            很優美的證明。。。只可惜不能提供任何strategy...-_-bbbbbbbb
            最后終于悟出來這題規定棋盤3*n, n<=100,所以就100*100*100的dp就行了。。-_-bbbbbbbbbb


            p.s. wiki : Chomp Game


            p.s. 確實覺得一知半解是一個很容易出錯的情況...因為如果完全不知道思維也就沒有任何限制了,曾經看到過么...感覺會有點緊張(想要趕緊搞掉的那種感覺) & 試圖用記憶中的套路去做...但有時候可能沒有關系(例如這個game, 先手必勝的證明并不能提供任何先手如何operate的信息...,如果繼續往這個上面想就直接掛了...-_-bbbbbbb)
            還有就是有可能會出現類似于"當時為什么不仔細推清楚"之類的念頭...這個seems容易解決...

            感覺如果是完全陌生的題想法通常容易比較open, 如果感覺這個模型熟悉一般都會試圖往熟悉的模型上套...大多數情況下這樣確實可以節省時間...但是如果失去了open的思維 + 熟悉的模型無法解決就orz了...


            posted on 2008-02-17 04:15 FreePeter 閱讀(1026) 評論(4)  編輯 收藏 引用 所屬分類: AlgorithmACM/ICPC

            評論

            # re: TCO Round1, [500], CHOMP Game... 2008-02-17 22:17 ziliang
            嗯,我也是暴力DP上去的...
            不過題目咋一看就像是可以SG的...真是orz了  回復  更多評論
              

            # re: TCO Round1, [500], CHOMP Game... 2008-02-18 22:26 FreePeter
            @ziliang
            典型的想復雜了么~~~  回復  更多評論
              

            # re: TCO Round1, [500], CHOMP Game... 2008-02-21 19:54 xcw
            問一下topcoder srm div2 1000那個題目.
            剛開始做的時候我沒有特殊處理(0,x),(x,0)幾個特殊點.就直接算SG.
            結果不對,和別人的程序算出來的SG對比,雖然必輸的時候都是0,但是其他非0的就不一樣了...為什么(0,x),(x,0)的SG值不能直接寫成0呢?  回復  更多評論
              

            # re: TCO Round1, [500], CHOMP Game... 2008-02-22 19:08 FreePeter
            @xcw
            你是指SRM 384吧
            我怎么記得應該是把(0, x), (x, 0), (x, x)直接寫成0吧?
            因為原來的游戲還是稍微要變下模型的(注意是只要把某一個棋子move to (0, 0)就勝利)。

            這里有篇summary~, you may also refer to the analysis of TopCoder...
            http://wtommy.yculblog.com/post.2796402.html

              回復  更多評論
              

            Creative Commons License
            This site is licensed under a Creative Commons Attribution-Share Alike 2.5 China Mainland License. 本站采用創作共用版權協議, 要求署名、相同方式共享. 轉載本站內容必須也遵循“署名-相同方式共享”的創作共用協議. This site is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
            人人狠狠综合久久88成人| 色综合久久天天综线观看| 久久精品无码一区二区无码| 人妻少妇久久中文字幕一区二区| 久久一日本道色综合久久| 国产精品久久久久久久午夜片| 伊人久久大香线蕉成人| 久久99精品国产自在现线小黄鸭| 亚洲午夜久久影院| 人妻久久久一区二区三区| 激情综合色综合久久综合| 久久人人爽人人爽人人AV东京热| 久久av免费天堂小草播放| 色欲综合久久躁天天躁蜜桃| 久久综合精品国产一区二区三区 | 99精品久久精品| 日本欧美国产精品第一页久久| 久久久国产精品亚洲一区| 久久久久久久综合日本| 青青青青久久精品国产h| 亚洲伊人久久大香线蕉综合图片| 精品久久久久久久久久久久久久久| 亚洲中文久久精品无码ww16| 日韩va亚洲va欧美va久久| 国产精品99久久久久久猫咪| 久久精品黄AA片一区二区三区| 亚洲国产精品无码久久青草| 久久99精品久久久久久9蜜桃| 2021少妇久久久久久久久久| 热re99久久6国产精品免费| 欧美激情一区二区久久久| 久久久精品久久久久影院| 久久精品无码一区二区app| 精品人妻伦九区久久AAA片69| 国产一级做a爰片久久毛片| 久久久久久亚洲Av无码精品专口| 久久亚洲AV无码精品色午夜| 久久妇女高潮几次MBA| 99蜜桃臀久久久欧美精品网站| 亚洲女久久久噜噜噜熟女| 亚洲精品无码久久久久去q|