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 ruanrongbin at 2005-04-07 17:02:26 on Problem 1159
In Reply To:大家帮忙看看我的程序,有没有办法改进时间复杂性,老是超时 Posted by:ruanrongbin at 2005-04-07 16:58:17
我是用递归实现的,不过每次弟归都要调用两个子程序,复杂性是2的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