• <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 閱讀(1024) 評論(4)  編輯 收藏 引用 所屬分類: Algorithm 、ACM/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.
            久久午夜电影网| 久久se精品一区精品二区| 国产午夜电影久久| 久久国产午夜精品一区二区三区| 国产精品VIDEOSSEX久久发布| 久久亚洲视频| 精品久久久久久久久午夜福利| 久久99国产精品久久久| 天天综合久久一二三区| 久久精品国产99国产精品亚洲 | 香蕉久久夜色精品国产尤物| 久久九九久精品国产免费直播| 精品久久香蕉国产线看观看亚洲| 久久久精品无码专区不卡| 无码人妻久久一区二区三区 | 精品国产VA久久久久久久冰| 亚洲综合婷婷久久| 久久国产精品无码HDAV | 大香伊人久久精品一区二区 | 国产91色综合久久免费分享| 色婷婷久久久SWAG精品| 久久这里只精品国产99热| 久久综合噜噜激激的五月天| 亚洲精品国精品久久99热| 亚洲国产精品婷婷久久| 精品久久久久久综合日本| 久久久无码人妻精品无码| 欧美黑人激情性久久| 亚洲美日韩Av中文字幕无码久久久妻妇 | 欧美黑人激情性久久| 伊人久久一区二区三区无码| 7国产欧美日韩综合天堂中文久久久久 | 久久午夜电影网| 7国产欧美日韩综合天堂中文久久久久 | 99国产欧美精品久久久蜜芽| 亚洲AV无码久久精品成人| 欧美亚洲国产精品久久| 美女久久久久久| 午夜精品久久久久成人| 伊人久久亚洲综合影院| 久久亚洲AV无码精品色午夜麻豆|