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 |
hash时判重!在哈希的时候,判断这个雪花是否已经存在,如果不存在就把雪花存下来并返回False,如果存在就返回TRUE,但不知道为什么一直WA! 最后没有办法,稍改一下变成哈希时不判重,真接存,最后总的再来判断,才过的! Why:为什么不能在哈希时判重??? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator