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 lithum at 2009-08-05 12:26:10 on Problem 1611
In Reply To:ac的代码,有没有时间少的代码,小弟想学习一下!谢谢了!!!! Posted by:LGQ at 2008-05-11 11:57:36
楼主的思路不错,但是我觉得最后一步可以不用qsort()函数而直接统计p[i]==0的方法时间复杂度更低一些。

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