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:此题数据有陷阱,用标准hash函数狂tle,自己随便写一个简单的hash函数就可以500ms过,汗。。。

Posted by leonardWang at 2010-02-27 22:08:21 on Problem 2503
In Reply To:Re:此题数据有陷阱,用标准hash函数狂tle,自己随便写一个简单的hash函数就可以500ms过,汗。。。 Posted by:leonardWang at 2010-02-27 21:53:54
> 用ELFhash TLE无数次 每个字符-‘a’+1 相乘 过了
额。。错了 ELFhash可以过 发现返回hash值时%prime写成了&。。。居然一直是提示TLE不是RE

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