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过的,为什么要鄙视hash?

Posted by erikajason at 2010-04-23 01:03:00 on Problem 2366 and last updated at 2010-04-23 01:04:25
1 用map 280ms过
2 自己写个hash表,70ms

数据被改大了很多,可能就是为了防止用一维数组直接hash水过的,但是不提醒读者就擅自将数据改大这么多是不负责任的~就算用一维数组去hash又有什么不对呢,难道这不是一个好方法么?

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