Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
多谢楼主的代码In Reply To:ac的代码,有没有时间少的代码,小弟想学习一下!谢谢了!!!! Posted by:LGQ at 2008-05-11 11:57:36 楼主的思路不错,但是我觉得最后一步可以不用qsort()函数而直接统计p[i]==0的方法时间复杂度更低一些。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator