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,WA了好几次的原因

Posted by wangshuncheng at 2014-02-17 21:04:29 on Problem 2002
最开始WA了好多次,原因是每次计算没有重新初始化HASH表,导致每次新做的点都是在原来HASH表的基础上出来的。所以在样例上怎么都没有问题,而一judge就出错。把hash表每次循环的时候都重新定义就通过了
新手总是WA的话可以注意一下我这个问题

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