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时判重!

Posted by s030902202 at 2010-11-16 13:09:22 on Problem 3349
在哈希的时候,判断这个雪花是否已经存在,如果不存在就把雪花存下来并返回False,如果存在就返回TRUE,但不知道为什么一直WA!
最后没有办法,稍改一下变成哈希时不判重,真接存,最后总的再来判断,才过的!
Why:为什么不能在哈希时判重???

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