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

想用Hash过题却一直TLE的注意一下

Posted by fcxxzux at 2014-08-28 14:46:42 on Problem 3261
poj上的map神慢,千万不要随便玩!
hash判断的时候我一开始用map,死活过不去,然后把map删了,换一个方案,存下所有的hash值,sort后处理AC,代码只用了0.1s

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