Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:为什么啊!第一组样例0的SG值为啥不是0?

Posted by ac_majia at 2012-05-04 21:35:36 on Problem 2425
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator