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:My god!

Posted by Sempr at 2006-07-10 16:13:44 on Problem 2872
In Reply To:My god! Posted by:wooke at 2006-07-09 10:21:27
前几天遇到一个不错的哈希函数
for (h = 0; *p; p++)
	h = (h * 31 + *p) % (size - 13);

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