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的同学,可以看看这1,用map来存储电话号码和次数的对应关系的时候,电话号码用int存储<int, int>,如果用string存储的话,会超时 2. 用快排,直接用qsort即可,如果自己写的话,没有库函数来的快 3. 用printf代替cont输出,cout输出比printf输出慢多了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator