摘要:        
链接:http://poj.org/problem?id=2960 1 #include 2 #include 3 const int N = 10001; 4 const int M= 101; 5 int SG[N];//SG[i]记录一堆i颗石子的SG状态 6 int s[M];//存储可选取的石子数目集合 7 int k;//s[]集合中的元素个数 8 int mex(int x) 9 {10 if( SG[x]!=-1 )return SG[x];11 bool vi[N]={0};12 for( int i=0; i<k; ++ i ){13 ...    阅读全文
posted @ 2013-07-27 19:58
淡墨æ末央
阅读(158)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号