码迷,mamicode.com
首页 >  
搜索关键字:poj2311    ( 3个结果
POJ2311 Cutting Game(博弈论)
总时间限制: 1000ms 内存限制: 65536kB 描述 Urej loves to play various types of dull games. He usually asks other people to play with him. He says that playing tho ...
分类:其他好文   时间:2019-04-28 12:36:38    阅读次数:302
poj 2311 Cutting Game SG函数的运用 唉,,,
Urej loves to play various types of dull games. He usually asks other people to play with him. He says that playing those games can show his extraordinary wit. Recently Urej takes a great interest in a new game, and Erif Nezorf becomes the victim. To get a...
分类:其他好文   时间:2015-04-02 09:08:58    阅读次数:269
【博弈论】【SG函数】poj2311 Cutting Game
由于异或运算满足结合律,我们把当前状态的SG函数定义为 它所能切割成的所有纸片对的两两异或和之外的最小非负整数。#include#include#includeusing namespace std;int n,m,SG[201][201];int sg(int x,int y){ if(SG[x]...
分类:其他好文   时间:2015-03-14 09:36:12    阅读次数:152
3条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!