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:救命啊~~为什么老是Runtime Error!用的hash

Posted by ss08zhangchi at 2010-01-19 10:42:48 on Problem 2503
In Reply To:救命啊~~为什么老是Runtime Error!用的hash Posted by:zen_chou at 2009-05-12 15:18:32
哈希函数有问题,发生了溢出,sum的值有可能是负数,数组访问越界咯~

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