| ||||||||||
| 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 | |||||||||
【求解】TLE的困惑最近再做这道题,一直出现的问题是TLE;我用的是gcc编译器,数据结构是
typedef struct pn
{
int phNum;
int count;
} *PhoneNumber;
根据输入的字符串,转化为相应的整数,采用二分查找和快速排序。输出时把phNum / 10000得到前三位数字,phNum % 10000 得到后四位。
各位朋友,请指点一下可能存在的问题,不甚感激!
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator