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

郁闷了,大家来看看......为虾米Pascal这么惨啊.

Posted by detecti1 at 2003-09-25 00:16:47 on Problem 1002
晕
不玩了.....

看到用C的有系统的快排,真是郁闷......

偶用Pascal。

刚开始数组开小了,改成100000以后内存不足(我用String[7]记录电话),然后改到用Longint记录,提交后,超时.......

于是把冒泡排序改为快速分类(不是说这个是内排最快的么?),结果,超时。

然后改成每次新加入电话以后就排序,加入时用二分法查找,居然还超时,不玩了......

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