Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:为什么啊!第一组样例0的SG值为啥不是0?In Reply To:为什么啊!第一组样例0的SG值为啥不是0? Posted by:bsshanghai at 2011-10-05 10:58:14 根据本题题意,出度为0的点sg值为0。 第一组样例,1和3的出度为0,则令sg[1]=sg[3]=0,那么sg[2]=mex(3)=1,sg[1]=mex(1, 2)=2。 这题sg值的确定跟结点的出度有关。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator