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

Re:改了又改,还是超时,AC的人帮忙看看,哪时出问题了,总超时?

Posted by codehunter at 2008-06-26 23:23:25 on Problem 1002
In Reply To:改了又改,还是超时,AC的人帮忙看看,哪时出问题了,总超时? Posted by:ding_d at 2008-06-24 01:03:12
提供两个思路,1 直接用map<int, int>存储电话和该电话出现的次数;2 new一个10000000的数组记录每个数出现的次数。都是1000ms左右,几十ms的办法还没想出来

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