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

漂亮,拜服

Posted by RoBa at 2006-11-15 16:58:08
In Reply To:计算每个位置的nim 从右边开始数的分别是 0 1 2 4 7 8 11 。。。。。。(根据nim定义计算,这里预处理O(n^3) 然后计算出来总的nim值=(每堆的石头数%2)*该堆的nim值 Posted by:TheBeet at 2006-11-15 13:43:08


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