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

N*M的内存就够了

Posted by 20053565 at 2008-10-18 09:50:07 on Problem 2289
In Reply To:Re:这题用匹配怎么做啊~之前做过类似的,二分答案,再化成N——(M*mid)的二分匹配,但是这题N*N*M超内存~不知道怎么做了,大牛指教下~。 Posted by:choupigwb at 2008-10-17 10:48:25
你说的N*N*M是把每个M都拆了吧 其实不用
参见3189

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