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

【求解】TLE的困惑

Posted by aFox at 2010-03-21 11:03:44 on Problem 1002
最近再做这道题,一直出现的问题是TLE;我用的是gcc编译器,数据结构是
typedef struct pn
{
	int phNum;
	int count;
} *PhoneNumber;
根据输入的字符串,转化为相应的整数,采用二分查找和快速排序。输出时把phNum / 10000得到前三位数字,phNum % 10000 得到后四位。

各位朋友,请指点一下可能存在的问题,不甚感激!

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