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:抽屉原理?怎么构造抽屉呀,能说得更详细一点 吗?thx

Posted by frkstyc at 2005-04-25 13:21:14 on Problem 2356
In Reply To:抽屉原理?怎么构造抽屉呀,能说得更详细一点 吗?thx Posted by:cpp051300448324 at 2005-04-25 13:19:13
n个数,看成有穷级数(这样比较好说),取部分和序列对n取模,用模n的剩余类当抽屉,这下好做了吧?在线算法做都可以了

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