Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:此题数据有陷阱,用标准hash函数狂tle,自己随便写一个简单的hash函数就可以500ms过,汗。。。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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator