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:提示一下这个题怎么写吧

Posted by linandmin at 2006-08-18 00:51:12 on Problem 2960
In Reply To:提示一下这个题怎么写吧 Posted by:lixs2003 at 2006-08-16 10:49:57
> 说说看吧
> 呵呵
我有个初步的想法。就是把所有堆中有最多石子的那一堆取出,设为max,把剩下的堆中的石子数按位异或得到sum,用max减去sum,如果max-sum在set中,则先手胜。

这个只是我的猜想,没有经过实践和理论的验证,仅供参考。明天再验证去,现在先看电影。

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